microprobe.target.env.GenericEnvironment

class GenericEnvironment(name, descr, isa, little_endian=False)[source]

Bases: Environment

__init__(name, descr, isa, little_endian=False)[source]
Parameters:
  • name

  • descr

  • isa

Methods

__init__(name, descr, isa[, little_endian])

param name:

elf_abi(stack_size, start_symbol, **kwargs)

full_report()

function_call(target[, return_address_reg, ...])

function_return([return_address_reg])

hook_after_reset_instructions()

hook_after_test_instructions()

hook_before_test_instructions()

hook_test_end_instructions()

hook_test_init_instructions()

list_properties([tabs])

register_name(register)

param register:

register_property(prop[, force])

param prop:

set_target(target)

param target:

set_threads(num_threads)

param num_threads:

stack_direction()

stack_pointer()

unregister_property(prop)

param prop:

Attributes

default_wrapper

description

environment_reserved_registers

isa

little_endian

name

properties

target

threads

volatile_registers




property name
property description
property isa
property environment_reserved_registers
property threads
property target
set_target(target)[source]
Parameters:

target

set_threads(num_threads)[source]
Parameters:

num_threads

register_name(register)[source]
Parameters:

register

full_report()[source]
property default_wrapper
elf_abi(stack_size, start_symbol, **kwargs)[source]
function_call(target, return_address_reg=None, long_jump=False)[source]
function_return(return_address_reg=None)[source]
property volatile_registers
stack_pointer()[source]
stack_direction()[source]
property little_endian
hook_before_test_instructions()[source]
hook_after_test_instructions()[source]
hook_test_init_instructions()[source]
hook_after_reset_instructions()[source]
hook_test_end_instructions()[source]
list_properties(tabs=0)
property properties
register_property(prop, force=False)
Parameters:

prop

unregister_property(prop)
Parameters:

prop