Symbolic execution recovers ~30% more CFG nodes for dynamically loaded code
The proposed symbolic library resolution technique recovers additional control-flow graph nodes and edges with perfect precision and recall
Software arXiv 28 May 2026 Method Prototype evidence
Published as “Control Flow Graph Recovery for Dynamically Loaded Code via Symbolic Library Resolution”
Why it matters
Enables safer, more complete CFG recovery for binaries that use dynamic loading, which can improve downstream malware analysis and CFI enforcement.
Summary
The paper shows that their symbolic-execution-based module recovers on average 29.8 % more CFG nodes, 26.5 % more edges and 41.6 % more functions than a static-analysis baseline, and attains 100 % precision and 100 % recall for library detection on a set of 16 synthetic benchmarks. The evidence comes from a custom benchmark suite; no real-world malware was evaluated.
What they found 2
- The module recovers on average 29.8 % additional CFG nodes and 26.5 % additional edges compared to static analysis alone.
“module recovers on average 29.8 % additional Control Flow Graph nodes and 26.5 % additional edges compared to static analysis alone”
- Library detection achieves 100 % precision and 100 % recall across all benchmarks.
“the module achieves 100 % recall and 100 % precision across all benchmarks.”
Caveats 4
- While the results are encouraging, the module is far from complete, because our benchmarks are synthetic. They mirror documented malware techniques, but real obfuscated binaries are complex and less predictable and will require testing against samples from virus repositories.
- Platform coverage is another constraint. The current implementation handles Linux ELF binaries on x86-64 and ARM64 reasonably well, and we do not support other OS.
- Taint tracking also has known blind spots. The engine follows explicit data flows but ignores implicit flows through control dependencies, which means precision degrades when execution passes through hash functions, compression routines, or cryptographic operations.
- The module can flag obfuscation but makes no attempt to undo it.
What’s new here 4
- Combines symbolic execution with speculative library preloading to resolve dynamically loaded code.
- Intercepts a wide range of dynamic-loading APIs (42 SimProcedures) within the symbolic engine.
- Achieves complete library detection (100 % precision/recall) without executing the binary.
- Quantifies CFG completeness gains (nodes, edges, functions) over static analysis.