#include <sys/types.h>
#include <unistd.h>
#include <gelf.h>
Go to the source code of this file.
|
int | get_pid_binary_path (pid_t pid, char *path, size_t path_sz) |
|
int | get_pid_lib_path (pid_t pid, const char *lib, char *path, size_t path_sz) |
|
int | resolve_binary_path (const char *binary, pid_t pid, char *path, size_t path_sz) |
|
off_t | get_elf_func_offset (const char *path, const char *func) |
|
Elf * | open_elf (const char *path, int *fd_close) |
|
Elf * | open_elf_by_fd (int fd) |
|
void | close_elf (Elf *e, int fd_close) |
|
◆ close_elf()
void close_elf |
( |
Elf * |
e, |
|
|
int |
fd_close |
|
) |
| |
◆ get_elf_func_offset()
off_t get_elf_func_offset |
( |
const char * |
path, |
|
|
const char * |
func |
|
) |
| |
◆ get_pid_binary_path()
int get_pid_binary_path |
( |
pid_t |
pid, |
|
|
char * |
path, |
|
|
size_t |
path_sz |
|
) |
| |
◆ get_pid_lib_path()
int get_pid_lib_path |
( |
pid_t |
pid, |
|
|
const char * |
lib, |
|
|
char * |
path, |
|
|
size_t |
path_sz |
|
) |
| |
◆ open_elf()
Elf* open_elf |
( |
const char * |
path, |
|
|
int * |
fd_close |
|
) |
| |
◆ open_elf_by_fd()
Elf* open_elf_by_fd |
( |
int |
fd | ) |
|
◆ resolve_binary_path()
int resolve_binary_path |
( |
const char * |
binary, |
|
|
pid_t |
pid, |
|
|
char * |
path, |
|
|
size_t |
path_sz |
|
) |
| |