zelos.tracer module

class zelos.tracer.Comment(address, thread_id, text)

Bases: object

class zelos.tracer.Tracer(helpers, z, cs, modules)

Bases: zelos.manager.IManager

Tracer prints information to the user to help understand the state of execution.

property functions_called
bb(address=None, size=20, full_trace=False)
regs()

Prints registers at the current address

indent()
unindent()
set_current_return_address(addr)
set_current_function_name(name)
set_current_api_module(name)
print(category, s, thread=None, addr_str=None)
api(args, isNative=False)

Prints an API that was called

api_dbg(args, isNative=False)

Prints an API that was called

ins(insn)

Prints the thread, address and instruction string

should_print_thread(t=None)

Decides whether log statements should be printed for the given thread

class zelos.tracer.EmptyCommentGenerator

Bases: object

get_comment(insn)
class zelos.tracer.ArmCommentGenerator(z, tracer, modules)

Bases: object

get_comment(insn)
class zelos.tracer.x86CommentGenerator(tracer, modules)

Bases: object

get_comment(insn)