Linux Kernel
3.7.1
|
#include <libelf.h>
#include <gelf.h>
#include <elf.h>
#include <fcntl.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <inttypes.h>
#include "symbol.h"
#include "debug.h"
Go to the source code of this file.
Macros | |
#define | NT_GNU_BUILD_ID 3 |
#define | elf_symtab__for_each_symbol(syms, nr_syms, idx, sym) |
#define | elf_section__for_each_rel(reldata, pos, pos_mem, idx, nr_entries) |
#define | elf_section__for_each_rela(reldata, pos, pos_mem, idx, nr_entries) |
#define | NOTE_ALIGN(n) (((n) + 3) & -4U) |
Functions | |
int | dso__synthesize_plt_symbols (struct dso *dso, struct symsrc *ss, struct map *map, symbol_filter_t filter) |
int | filename__read_build_id (const char *filename, void *bf, size_t size) |
int | sysfs__read_build_id (const char *filename, void *build_id, size_t size) |
int | filename__read_debuglink (const char *filename, char *debuglink, size_t size) |
bool | symsrc__possibly_runtime (struct symsrc *ss) |
bool | symsrc__has_symtab (struct symsrc *ss) |
void | symsrc__destroy (struct symsrc *ss) |
int | symsrc__init (struct symsrc *ss, struct dso *dso, const char *name, enum dso_binary_type type) |
int | dso__load_sym (struct dso *dso, struct map *map, struct symsrc *syms_ss, struct symsrc *runtime_ss, symbol_filter_t filter, int kmodule) |
void | symbol__elf_init (void) |
#define elf_symtab__for_each_symbol | ( | syms, | |
nr_syms, | |||
idx, | |||
sym | |||
) |
Definition at line 301 of file symbol-elf.c.
#define NT_GNU_BUILD_ID 3 |
Definition at line 15 of file symbol-elf.c.
int dso__load_sym | ( | struct dso * | dso, |
struct map * | map, | ||
struct symsrc * | syms_ss, | ||
struct symsrc * | runtime_ss, | ||
symbol_filter_t | filter, | ||
int | kmodule | ||
) |
Definition at line 630 of file symbol-elf.c.
int dso__synthesize_plt_symbols | ( | struct dso * | dso, |
struct symsrc * | ss, | ||
struct map * | map, | ||
symbol_filter_t | filter | ||
) |
Definition at line 169 of file symbol-elf.c.
Definition at line 382 of file symbol-elf.c.
Definition at line 454 of file symbol-elf.c.
Definition at line 838 of file symbol-elf.c.
Definition at line 541 of file symbol-elf.c.
Definition at line 536 of file symbol-elf.c.
int symsrc__init | ( | struct symsrc * | ss, |
struct dso * | dso, | ||
const char * | name, | ||
enum dso_binary_type | type | ||
) |
Definition at line 548 of file symbol-elf.c.
Definition at line 531 of file symbol-elf.c.