Example Usage
from triton import *
>>> # Create the Triton context with a defined architecture
>>> ctx = TritonContext(ARCH.X86_64)
>>> # Define concrete values (optional)
>>> ctx.setConcreteRegisterValue(ctx.registers.rip, 0x40000)
>>> # Symbolize data (optional)
>>> ctx.symbolizeRegister(ctx.registers.rax, 'my_rax')
>>> # Execute instructions
>>> ctx.processing(Instruction(b"\x48\x35\x34\x12\x00\x00")) # xor rax, 0x1234
>>> ctx.processing(Instruction(b"\x48\x89\xc1")) # mov rcx, rax
>>> # Get the symbolic expression
>>> rcx_expr = ctx.getSymbolicRegister(ctx.registers.rcx)
>>> print(rcx_expr)
(define-fun ref!8 () (_ BitVec 64) ref!1) ; MOV operation - 0x40006: mov rcx, rax
>>> # Solve constraint
>>> ctx.getModel(rcx_expr.getAst() == 0xdead)
{0: my_rax:64 = 0xcc99}
>>> # 0xcc99 XOR 0x1234 is indeed equal to 0xdead
>>> hex(0xcc99 ^ 0x1234)
'0xdead'
See also
.NET-Deobfuscator
Open Source
Lists of .NET Deobfuscator and Unpacker (Open Source)…
-SKYNET-Steam-Emulator
Open Source
Client emulator to play steam games on LAN without Internet connection.…
ipatool
Open Source
Command-line tool that allows searching and downloading app packages (known as ipa files) from the i…
BitMono
Open Source
Obfuscator for .NET and Mono, with a customizable engine for building your own obfuscators.…
Binwalk
Open Source
Kali
Firmware analysis tool for searching, extracting, and analyzing binary images. Identifies embedded f…
NTRGhidra
Open Source
A Nintendo DS binary loader for Ghidra…