Disassemble .class files without asking for canonical class-name

Issue #91 resolved
Nicolas Morew created an issue

Hello,

For a user to disassemble a class inside of a .jar file he/she needs to input the canonical name of that class. This however should not be necessary for disassembling a .class file directly, but for both types of files, running the disassembler requires the canonical class name. Would it be possible to remove this parameter requirement when disassembling .class files? Otherwise the atom package for the disassembler would have to prompt for the user for the canonical class name every time he/she wants to disassemble a .class file, which should only be necessary for disassembling classes in a .jar file.

Comments (7)

  1. Michael Eichberg repo owner

    I (re)added the possibility to omit specifying the class name.

    Example

    run -source /Users/Michael/Code/OPAL/OPAL/bi/target/scala-2.11/resource_managed/test/ai/ai/domain/IntegerValuesFrenzy.class
    
  2. Michael Eichberg repo owner

    Merge branch 'develop' into feature/Hermes

    • develop: added documentation Added documentation and removed lazy modifier of project added -help parameter and a further note regarding the default behavior added a possibility to omnit the filter; added a possibility to just write out the body (fixes issue: #89) the class name is optional (again) (fixes issue #91) added missing types, improved formatting & documentation added a possibility to add initialization information for project keys to a project Print method name for failed tests improved allocation site doc Minor change to AbstractFixpointAnalysisTest to make it more flexible

    → <<cset 67878ed10cc7>>

  3. Michael Eichberg repo owner

    Merge branch 'develop' into feature/Scala2.12.X

    • develop: line endings corrected fixes issue #95 - improved documentation of AllocationSitesKey.scala improved the documentation moved FormalParameters to BR project; changed the origin information; added tests Adjusted comments to 100 character width Fixed name in comments (copy&paste mistake) Added a representation of formal parameters including a key to collect all formal parameters of all methods with a body. fixes issue #92 added documentation Added documentation and removed lazy modifier of project added -help parameter and a further note regarding the default behavior added a possibility to omnit the filter; added a possibility to just write out the body (fixes issue: #89) the class name is optional (again) (fixes issue #91) added missing types, improved formatting & documentation added a possibility to add initialization information for project keys to a project Print method name for failed tests improved allocation site doc Minor change to AbstractFixpointAnalysisTest to make it more flexible

    Conflicts:

    OPAL/br/src/main/scala/org/opalj/br/analyses/OneStepAnalysis.scala

    → <<cset bf0384cfce8a>>

  4. Michael Eichberg repo owner

    Merge branch 'develop' into feature/IDL2.0

    • develop: (25 commits) line endings corrected fixes issue #95 - improved documentation of AllocationSitesKey.scala improved the documentation moved FormalParameters to BR project; changed the origin information; added tests Adjusted comments to 100 character width Fixed name in comments (copy&paste mistake) Added a representation of formal parameters including a key to collect all formal parameters of all methods with a body. fixes issue #92 added documentation Added documentation and removed lazy modifier of project added -help parameter and a further note regarding the default behavior added a possibility to omnit the filter; added a possibility to just write out the body (fixes issue: #89) the class name is optional (again) (fixes issue #91) added missing types, improved formatting & documentation added a possibility to add initialization information for project keys to a project Print method name for failed tests improved allocation site doc minor formatting and documentation updates fixed typo in documentation fixed line number ...

    → <<cset 0f418bc886b6>>

  5. Log in to comment