Skip to content

Settings for command context\n\n

Setting context.enable

Type: bool

Default: True

Description:

Enable/disable printing the context when breaking

Setting context.show_source_code_variable_values

Type: bool

Default: True

Description:

Show extra PC context info in the source code

Setting context.show_stack_raw

Type: bool

Default: False

Description:

Show the stack pane as raw hexdump (no dereference)

Setting context.show_registers_raw

Type: bool

Default: False

Description:

Show the registers pane with raw values (no dereference)

Setting context.show_opcodes_size

Type: int

Default: 0

Description:

Number of bytes of opcodes to display next to the disassembly

Setting context.peek_calls

Type: bool

Default: True

Description:

Peek into calls

Setting context.peek_ret

Type: bool

Default: True

Description:

Peek at return address

Setting context.nb_lines_stack

Type: int

Default: 8

Description:

Number of line in the stack pane

Setting context.grow_stack_down

Type: bool

Default: False

Description:

Order of stack downward starts at largest down to stack pointer

Setting context.nb_lines_backtrace

Type: int

Default: 10

Description:

Number of line in the backtrace pane

Setting context.nb_lines_backtrace_before

Type: int

Default: 2

Description:

Number of line in the backtrace pane before selected frame

Setting context.nb_lines_threads

Type: int

Default: -1

Description:

Number of line in the threads pane

Setting context.nb_lines_code

Type: int

Default: 6

Description:

Number of instruction after $pc

Setting context.nb_lines_code_prev

Type: int

Default: 3

Description:

Number of instruction before $pc

Setting context.ignore_registers

Type: str

Default: ``

Description:

Space-separated list of registers not to display (e.g. '$cs $ds $gs')

Setting context.clear_screen

Type: bool

Default: True

Description:

Clear the screen before printing the context

Setting context.layout

Type: str

Default: legend regs stack code args source memory threads trace extra

Description:

Change the order/presence of the context sections

Setting context.redirect

Type: str

Default: ``

Description:

Redirect the context information to another TTY

Setting context.libc_args

Type: bool

Default: False

Description:

[DEPRECATED - Unused] Show libc function call args description

Setting context.libc_args_path

Type: str

Default: ``

Description:

[DEPRECATED - Unused] Path to libc function call args json files, provided via gef-extras