eptalights code analysis documentation
The Eptalights Code Analysis Library is a powerful Python package designed to help hackers, researchers, and developers effortlessly perform code analysis, discover bugs, conduct variant analysis, and more.
Effortlessly analyze program structures, functions, and call sites, and save time by quickly identifying complex variables with support for SSA variables, control flow graphs (CFGs), and more in a simple, Pythonic way. Think of it as Binary Ninja, but for source code.
Automate detailed code analysis rules, patterns, or variants more naturally with simple Python APIs, without needing to learn a custom DSL, in both small and large codebases.
Usage
Start with Quickstart.
For more details on setting up, see Getting Started.
Links
Table of Contents
- Quickstart
- Getting Started
- Working with Functions
- Working with Steps or Instructions
- Working with Callsites
- Working with Control Flow Graph (CFG)
- Working with Variables
- 1. print variable names in a function
- 2. print all variable objects of a function
- 3. print local variable objects of a function
- 4. get variables defined or used at a specific step
- 5. get specific variable object by name
- 6. searching variables globally across all functions
- 7. searching variables within a single function
- 6. get total variables
- Working with Tokenized Operands
- Working with Arrays
- Working with Structs
- Working with C++
- Working with PHP
- Working with Java
- Working with Dataflow
- Working with File Metadata / File Data
- Working with Raw IR/Bytecode
- Configuration
- API Reference