ScriptedFrame#

class lldb.plugins.scripted_process.ScriptedFrame(thread, args)#

The base class for a scripted frame.

Most of the base class methods are @abstractmethod that need to be overwritten by the inheriting class.

Methods Summary

get_display_function_name()

Get the scripted frame display function name.

get_function_name()

Get the scripted frame function name.

get_id()

Get the scripted frame identifier.

get_pc()

Get the scripted frame address.

get_register_context()

Get the scripted thread register context

get_register_info()

get_symbol_context()

Get the scripted frame symbol context.

get_variables(filters)

Get the scripted thread state type.

is_artificial()

Check if the scripted frame is artificial.

is_hidden()

Check if the scripted frame is hidden.

is_inlined()

Check if the scripted frame is inlined.

Methods Documentation

get_display_function_name()#

Get the scripted frame display function name.

Returns:

str: The display function name of the scripted frame.

get_function_name()#

Get the scripted frame function name.

Returns:

str: The function name of the scripted frame.

abstract get_id()#

Get the scripted frame identifier.

Returns:

int: The identifier of the scripted frame in the scripted thread.

get_pc()#

Get the scripted frame address.

Returns:

int: The optional address of the scripted frame in the scripted thread.

abstract get_register_context()#

Get the scripted thread register context

Returns:

str: A byte representing all registerโ€™s value.

get_register_info()#
get_symbol_context()#

Get the scripted frame symbol context.

Returns:

lldb.SBSymbolContext: The symbol context of the scripted frame in the scripted thread.

get_variables(filters)#

Get the scripted thread state type.

Args:

filter (lldb.SBVariablesOptions): The filter used to resolve the variables

Returns:
lldb.SBValueList: The SBValueList containing the SBValue for each resolved variable.

Returns None by default.

is_artificial()#

Check if the scripted frame is artificial.

Returns:

bool: True if scripted frame is artificial. False otherwise.

is_hidden()#

Check if the scripted frame is hidden.

Returns:

bool: True if scripted frame is hidden. False otherwise.

is_inlined()#

Check if the scripted frame is inlined.

Returns:

bool: True if scripted frame is inlined. False otherwise.