|
GEL
0.99
|
#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <gel/stabs.h>#include <gel/debug_line.h>#include "../src/debug.h"#include "gel_mem.h"Typedefs | |
| typedef struct elf_stab_t | elf_stab_t |
| typedef struct linemap_entry_t | linemap_entry_t |
Functions | |
| stabs_t * | stabs_new (gel_file_t *file) |
| void | stabs_delete (stabs_t *stabs) |
| int | stabs_count (stabs_t *stabs) |
| stab_t * | stabs_item (stabs_t *stabs, int i) |
| gel_line_map_t * | stabs_make_linemap (gel_file_t *file, stabs_t *stabs) |
| gel_line_map_t * | stabs_new_line_map (gel_file_t *file) |
| typedef struct elf_stab_t elf_stab_t |
| typedef struct linemap_entry_t linemap_entry_t |
| int stabs_count | ( | stabs_t * | stabs | ) |
Get the count of items in STABS.
| stabs | STABS handle. |
| void stabs_delete | ( | stabs_t * | stabs | ) |
Delete a STABS handler.
| stabs | STABS handler to delete. |
Get the item at the given index.
| stabs | STABS handle. |
| i | Index of the item. |
| gel_line_map_t* stabs_make_linemap | ( | gel_file_t * | file, |
| stabs_t * | stabs | ||
| ) |
Build a line map that allows to map source:lines with addresses.
| file | File to get linemap from. |
| stabs | Current stabs. |
| stabs_t* stabs_new | ( | gel_file_t * | file | ) |
Open the STABS section of the given file.
| file | File to look in. |
| gel_line_map_t* stabs_new_line_map | ( | gel_file_t * | file | ) |
Build the line information.
| file | File containing the section. |