Baseer 0.2.0
Baseer is an advanced binary analysis tool designed to provide deep insights into any file.
Loading...
Searching...
No Matches
context Struct Reference

Holds debugger state and process information. More...

#include <debugger.h>

Public Attributes

char * mmaps
uint64_t base
uint64_t entry
struct user_regs_struct regs
bp_listlist
sym_listsym
Cmd cmd
unsigned int pid
uint32_t arch
bool do_wait
bool pie
bool do_exit

Detailed Description

Holds debugger state and process information.

Member Data Documentation

◆ arch

uint32_t context::arch

Architecture (32 or 64 bit)

◆ base

uint64_t context::base

Base address of the binary (PIE flag in LSB)

◆ cmd

Cmd context::cmd

Current user command

◆ do_exit

bool context::do_exit

Set when the debugger should terminate

◆ do_wait

bool context::do_wait

Whether to wait for process stop

◆ entry

uint64_t context::entry

Entry point address

◆ list

bp_list* context::list

List of breakpoints

◆ mmaps

char* context::mmaps

Process memory mappings (/proc/pid/maps)

◆ pid

unsigned int context::pid

Debugged process PID

◆ pie

bool context::pie

True if the target binary is Position Independent Executable (PIE)

◆ regs

struct user_regs_struct context::regs

CPU register state

◆ sym

sym_list* context::sym

List of symbols


The documentation for this struct was generated from the following file: