Skip to content

Telescope

Prints out pointer chains starting at some address in memory.

Generally used to print out the stack or register values.

offset_delimiter = theme.add_param('telescope-offset-delimiter', ':', 'offset delimiter of the telescope command') module-attribute

offset_separator = theme.add_param('telescope-offset-separator', '│', 'offset separator of the telescope command') module-attribute

parser = argparse.ArgumentParser(description='Dereferences on stack data, printing the entire stack frame with specified count and offset .') module-attribute

print_framepointer_offset = pwndbg.config.add_param('telescope-framepointer-offset', True, 'print offset to framepointer for each address, if sufficiently small') module-attribute

repeating_marker = theme.add_param('telescope-repeating-marker', '... ↓', 'repeating values marker of the telescope command') module-attribute

skip_repeating_values = pwndbg.config.add_param('telescope-skip-repeating-val', True, 'whether to skip repeating values of the telescope command') module-attribute

skip_repeating_values_minimum = pwndbg.config.add_param('telescope-skip-repeating-val-minimum', 3, 'minimum amount of repeated values before skipping lines') module-attribute

telescope_lines = pwndbg.config.add_param('telescope-lines', 8, 'number of lines to printed by the telescope command') module-attribute

regs_or_frame_offset(addr, bp, regs, longest_regs)

stack(count, offset, frame, inverse)

stackf(count, offset)

telescope(address=None, count=telescope_lines, to_string=False, reverse=False, frame=False, inverse=False)

Recursively dereferences pointers starting at the specified address ($sp by default)