miasm
Reverse engineering framework
testqemu Namespace Reference

Functions

def parse_fmt (s)
 
def xxx___printf_chk (jitter)
 
def xxx_puts (jitter)
 

Variables

 stdout = stdout.buffer
 
int nb_tests = 1
 
 parser = Sandbox_Linux_x86_32.parser(description="ELF sandboxer")
 
 help
 
 options = parser.parse_args()
 
 expected = open(options.expected)
 
 loc_db = LocationDB()
 
 sb = Sandbox_Linux_x86_32(loc_db, options.filename, options, globals())
 
 addr = sb.elf.getsectionbyname(".symtab")[options.funcname].value
 
 GS
 

Function Documentation

◆ parse_fmt()

def testqemu.parse_fmt (   s)
Here is the caller graph for this function:

◆ xxx___printf_chk()

def testqemu.xxx___printf_chk (   jitter)
Tiny implementation of printf_chk
Here is the call graph for this function:

◆ xxx_puts()

def testqemu.xxx_puts (   jitter)
#include <stdio.h>
int puts(const char *s);

writes the string s and a trailing newline to stdout.

Variable Documentation

◆ addr

testqemu.addr = sb.elf.getsectionbyname(".symtab")[options.funcname].value

◆ expected

testqemu.expected = open(options.expected)

◆ GS

testqemu.GS

◆ help

testqemu.help

◆ loc_db

testqemu.loc_db = LocationDB()

◆ nb_tests

int testqemu.nb_tests = 1

◆ options

testqemu.options = parser.parse_args()

◆ parser

testqemu.parser = Sandbox_Linux_x86_32.parser(description="ELF sandboxer")

◆ sb

testqemu.sb = Sandbox_Linux_x86_32(loc_db, options.filename, options, globals())

◆ stdout

testqemu.stdout = stdout.buffer