GDB (xrefs)
Loading...
Searching...
No Matches
Functions
leb.h File Reference

Go to the source code of this file.

Functions

static unsigned int read_1_byte (bfd *abfd, const gdb_byte *buf)
 
static int read_1_signed_byte (bfd *abfd, const gdb_byte *buf)
 
static unsigned int read_2_bytes (bfd *abfd, const gdb_byte *buf)
 
static int read_2_signed_bytes (bfd *abfd, const gdb_byte *buf)
 
static unsigned int read_3_bytes (bfd *abfd, const gdb_byte *buf)
 
static unsigned int read_4_bytes (bfd *abfd, const gdb_byte *buf)
 
static int read_4_signed_bytes (bfd *abfd, const gdb_byte *buf)
 
static ULONGEST read_8_bytes (bfd *abfd, const gdb_byte *buf)
 
LONGEST read_signed_leb128 (bfd *, const gdb_byte *, unsigned int *)
 
ULONGEST read_unsigned_leb128 (bfd *, const gdb_byte *, unsigned int *)
 
LONGEST read_initial_length (bfd *abfd, const gdb_byte *buf, unsigned int *bytes_read, bool handle_nonstd=true)
 
LONGEST read_offset (bfd *abfd, const gdb_byte *buf, unsigned int offset_size)
 
static const gdb_byte * read_n_bytes (bfd *abfd, const gdb_byte *buf, unsigned int size)
 
static const char * read_direct_string (bfd *abfd, const gdb_byte *buf, unsigned int *bytes_read_ptr)
 

Function Documentation

◆ read_1_byte()

static unsigned int read_1_byte ( bfd * abfd,
const gdb_byte * buf )
inlinestatic

◆ read_1_signed_byte()

static int read_1_signed_byte ( bfd * abfd,
const gdb_byte * buf )
inlinestatic

Definition at line 39 of file leb.h.

Referenced by decode_locdesc(), and dwarf_decode_line_header().

◆ read_2_bytes()

static unsigned int read_2_bytes ( bfd * abfd,
const gdb_byte * buf )
inlinestatic

◆ read_2_signed_bytes()

static int read_2_signed_bytes ( bfd * abfd,
const gdb_byte * buf )
inlinestatic

Definition at line 51 of file leb.h.

Referenced by decode_locdesc().

◆ read_3_bytes()

static unsigned int read_3_bytes ( bfd * abfd,
const gdb_byte * buf )
inlinestatic

Definition at line 58 of file leb.h.

Referenced by read_attribute_value().

◆ read_4_bytes()

static unsigned int read_4_bytes ( bfd * abfd,
const gdb_byte * buf )
inlinestatic

◆ read_4_signed_bytes()

static int read_4_signed_bytes ( bfd * abfd,
const gdb_byte * buf )
inlinestatic

Definition at line 70 of file leb.h.

Referenced by decode_locdesc().

◆ read_8_bytes()

static ULONGEST read_8_bytes ( bfd * abfd,
const gdb_byte * buf )
inlinestatic

◆ read_direct_string()

static const char * read_direct_string ( bfd * abfd,
const gdb_byte * buf,
unsigned int * bytes_read_ptr )
inlinestatic

◆ read_initial_length()

LONGEST read_initial_length ( bfd * abfd,
const gdb_byte * buf,
unsigned int * bytes_read,
bool handle_nonstd = true )
extern

◆ read_n_bytes()

static const gdb_byte * read_n_bytes ( bfd * abfd,
const gdb_byte * buf,
unsigned int size )
inlinestatic

Definition at line 131 of file leb.h.

Referenced by read_attribute_value().

◆ read_offset()

LONGEST read_offset ( bfd * abfd,
const gdb_byte * buf,
unsigned int offset_size )
extern

◆ read_signed_leb128()

LONGEST read_signed_leb128 ( bfd * abfd,
const gdb_byte * buf,
unsigned int * bytes_read_ptr )
extern

◆ read_unsigned_leb128()

ULONGEST read_unsigned_leb128 ( bfd * abfd,
const gdb_byte * buf,
unsigned int * bytes_read_ptr )
extern