Commit f66db26
committed
Refactor JVM instruction hierarchy and translation
Introduces abstract base classes for JVM instructions (e.g., arithmetic, branch, field access, constant load) in JvmInstructions.qll, and updates the IR translation logic to use these new abstractions. Renames and unifies temp variable tags for consistency. Simplifies and generalizes TranslatedElement and TranslatedInstruction logic to leverage the new class hierarchy, improving maintainability and extensibility of JVM bytecode modeling.1 parent 31dd0e8 commit f66db26
4 files changed
Lines changed: 776 additions & 196 deletions
File tree
- binary/ql/lib/semmle/code/binary/ast
- internal
- ir/internal/Instruction0
0 commit comments