Skip to content

aglib ¤

Debugger-agnostic library that provides various functionality.

Takes the debugging primitives provided by the Debugger API and builds the more complex and interesting bits of functionality found in Pwndbg on top of them.

See https://pwndbg.re/pwndbg/dev/contributing/dev-notes/#aglib for more information.

Modules:

  • arch
  • argv
  • ctypes

    On-the-fly endianness switching for ctypes structures.

  • disasm
  • dt

    Prints structures in a manner similar to WinDbg's "dt" command.

  • dynamic

    Dynamic linking interface.

  • elf

    This file declares types and methods useful for enumerating

  • file

    Retrieve files from the debuggee's filesystem. Useful when

  • godbg
  • heap
  • kernel
  • memory
  • nearpc
  • next

    Commands for setting temporary breakpoints on the next

  • onegadget
  • proc

    Provides values which would be available from /proc which

  • qemu

    Determine whether the target is being run under QEMU.

  • regs

    Reading register value from the inferior, and provides a

  • remote

    Information about whether the debuggee is local (under GDB) or remote

  • saved_register_frames
  • shellcode

    Shellcode

  • stack

    Helpers for finding address mappings which are used as a stack.

  • strings

    Functionality for resolving ASCII printable strings within

  • symbol

    Looking up addresses for function names / symbols, and

  • tls

    Getting Thread Local Storage (TLS) information.

  • typeinfo

    Common types.

  • vmmap
  • vmmap_custom

Functions:

load_aglib ¤

load_aglib()

set_arch ¤

set_arch(pwndbg_arch: PwndbgArchitecture)