trailofbits/maat
Fork: 42 Star: 619 (更新于 2024-12-21 13:46:41)
license: NOASSERTION
Language: C++ .
Open-source symbolic execution framework: https://maat.re
最后发布版本: v0.6.9 ( 2022-09-21 17:08:25)
About
Maat is an open-source Dynamic Symbolic Execution and Binary Analysis framework. It provides various functionalities such as symbolic execution, taint analysis, constraint solving, binary loading, environment simulation, and leverages Ghidra's sleigh library for assembly lifting: https://maat.re
Key features:
- Fast & Portable: Designed to scale to real-world applications. Fully written in C++ for good runtime performance. There are hardly any runtime dependencies, and most of them are optional
- User-friendly: Maat has a flexible debugger-like API, and its features are configurable to adapt to many different use-cases. As any self-respecting modern framework, it comes with Python bindings
- Multi-arch: With lifting and emulation based on Ghidra's awesome sleigh library, Maat has the potential to emulate many architectures, including exotic ones
Getting started
Installation
To install Maat's python module:
python3 -m pip install pymaat
To install Maat's native SDK and use the C++ API, check out BUILDING.md
Example
from maat import *
# Create a symbolic engine for Linux X86-32bits
engine = MaatEngine(ARCH.X86, OS.LINUX)
# Load a binary with one command line argument
engine.load("./some_binary", BIN.ELF32, args=[engine.vars.new_symbolic_buffer("some_arg", 20)])
# Get current eax value
engine.cpu.eax
# Read 4 bytes at the top of the stack
engine.mem.read(engine.cpu.esp, 4)
# Set a callback displaying every memory read
def show_mem_access(engine):
mem_access = engine.info.mem_access
print(f"Instruction at {engine.info.addr} reads {mem_access.size} bytes at {mem_access.addr}")
engine.hooks.add(EVENT.MEM_R, WHEN.BEFORE, callbacks=[show_mem_access])
# Take and restore snapshots
snap = engine.take_snapshot()
engine.restore_snapshot(snap)
# Run the binary
engine.run()
Contact
For general discussions, questions and suggestions, we use Github Discussions
For reporting issues and bugs, please use Github Issues
For anything else, drop an e-mail at boyan.milanov@trailofbits.com
最近版本更新:(数据更新于 2024-09-04 23:15:28)
2022-09-21 17:08:25 v0.6.9
2022-09-06 23:00:35 v0.6.8
2022-08-26 01:24:05 v0.6.7
2022-08-18 17:59:18 v0.6.6
2022-08-09 20:37:28 v0.6.5
2022-07-25 22:20:49 v0.6.4
2022-07-18 22:46:37 v0.6.3
2022-07-12 02:58:21 v0.6.2
2022-07-07 21:07:53 v0.6.1
2022-07-07 17:57:57 v0.6
trailofbits/maat同语言 C++最近更新仓库
2024-12-22 08:09:36 LizardByte/Sunshine
2024-12-22 01:52:26 rizonesoft/Notepad3
2024-12-20 06:20:01 ClickHouse/ClickHouse
2024-12-17 13:11:45 cxasm/notepad--
2024-12-16 20:00:54 AaronFeng753/Waifu2x-Extension-GUI
2024-12-16 15:51:57 PCSX2/pcsx2