Represent a tracing agent

Hierarchy

Implements

Constructors

Properties

__callconst_called: boolean = false
__match: string = null
__started: boolean = false
_do_ft: any = null
_tids: number[] = []
catchBKPT: boolean = false
catchOP: string[] = []
catchWFI: boolean = false
coverage?: CoverageAgent
debug: DebugOptions = ...
emulator: boolean
filter_name: string[] = []
filter_num: string[] = []
followFork: boolean = false
followThread: boolean = false
hook: InterruptorHooks = ...
loadCtr: number = 0
modules: Module[] = []
onStart: any = ...

To use with startOnLoad() A callback function executed when the modules specified in "startOnLoad" are loaded

Field

output: OutputOpts = ...
pid: number = -1

PID of process to stalk, when followFork is enabled or on attach

Field

ranges: any = ...
scope: ScopeMap
svc_hk: any = {}
tid: number = -1
types: any = {}
uid: number = 0
FLAVOR_DXC: string = "dxc"
FLAVOR_STRACE: string = "strace"

Methods

  • To parse memory according to the structure defined by pFormat

    Parameters

    • pContext: any
    • pFormats: TypedData[]
    • pPointer: NativePointer
    • pSeparator: string = "\n"
    • pAlign: boolean = false

    Returns string

  • To setup "trace" hook is the current instruction is an interruption or follow immediately one.

    This function is called by Stalker's event listener for each instruction

    Parameters

    • pStalkerInterator: StalkerX86Iterator | StalkerArmIterator | StalkerThumbIterator | StalkerArm64Iterator

      The stalker iterator

    • pInstruction: any

      The current instruction

    • pExtra: any

      Some extra options

    Returns number

    Method

Generated using TypeDoc