Functions
Put all functions defined for gdb in here.
This file might be changed into a module in the future.
functions: List[_GdbFunction] = []
module-attribute
¶
GdbFunction(only_when_running=False)
¶
argc(*args)
¶
Evaluates to argc.
argv(number_value)
¶
Evaluate argv on the supplied value.
base(name_pattern)
¶
Return base address of the first memory mapping containing the given name.
dbg_value_to_gdb(d)
¶
environ(name_value)
¶
Evaluate getenv() on the supplied value.
envp(number_value)
¶
Evaluate envp on the supplied value.
hex2ptr(hex_string)
¶
Converts a hex string to a little-endian address and returns the address. Example usage: $hex2ptr("00 70 75 c1 cd ef 59 00")
rebase(addr)
¶
Return rebased address.