Refactor codebase to use ASM instead of BCEL · mellon85/JavaArrayAccessAnalyzer@8c5b29a · GitHub
Skip to content

Commit 8c5b29a

Browse files
Refactor codebase to use ASM instead of BCEL
- Replaced BCEL 5.2 dependency with ASM 9.7 and ASM Tree 9.7. - Updated `build.xml` to point to ASM jars. - Refactored `App.java` to use ASM `ClassReader`. - Created `staticAnalyzer/Repository.java` to cache `ClassNode` objects. - Refactored `Analyzer.java` and `Analysis.java` to use ASM `ClassNode`, `MethodNode`, `InsnList`. - Replaced BCEL instruction handling with ASM `Opcodes`. - Refactored `State.java` to remove BCEL usage and improve serialization (removed non-serializable `MethodNode` reference). - Verified correctness by running analysis against existing test samples.
1 parent 3937835 commit 8c5b29a

46 files changed

Lines changed: 509 additions & 490 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎build.xml‎

Lines changed: 4 additions & 3 deletions

‎build/App.class‎

2.77 KB
Binary file not shown.
17.4 KB
Binary file not shown.
1.7 KB
Binary file not shown.
1.31 KB
Binary file not shown.
1.53 KB
Binary file not shown.
1.31 KB
Binary file not shown.
1.92 KB
Binary file not shown.
845 Bytes
Binary file not shown.
1.24 KB
Binary file not shown.

0 commit comments

Comments
 (0)