Commit 7256e95
committed
Add JVM stack state extraction and QL accessors
Attempt to fix performance issues with recreating stack behavior in QL querying by precalculating during extraction. Implements abstract interpretation in the extractor to compute stack height and producer mapping for each JVM instruction. Adds new dbscheme predicates and QL accessors for efficient stack slot lookup, replacing recursive CFG traversal in IR translation. Updates test query pack dependencies for compatibility.1 parent 5e83ca4 commit 7256e95
6 files changed
Lines changed: 547 additions & 16 deletions
File tree
- binary
- extractor/jvm
- Semmle.Extraction.Java.ByteCode
- ql/lib
- semmle/code/binary/ast
- internal
- ir/internal/Instruction0
- test-queries/jvm
0 commit comments