Eunomia
0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
|
Go to the documentation of this file.
3 #ifndef __UPROBE_HELPERS_H
4 #define __UPROBE_HELPERS_H
11 int get_pid_lib_path(pid_t pid,
const char *lib,
char *path,
size_t path_sz);
14 Elf *
open_elf(
const char *path,
int *fd_close);
Elf * open_elf(const char *path, int *fd_close)
Definition: uprobe_helpers.c:174
int resolve_binary_path(const char *binary, pid_t pid, char *path, size_t path_sz)
Definition: uprobe_helpers.c:143
int get_pid_lib_path(pid_t pid, const char *lib, char *path, size_t path_sz)
Definition: uprobe_helpers.c:55
Elf * open_elf_by_fd(int fd)
Definition: uprobe_helpers.c:208
void close_elf(Elf *e, int fd_close)
Definition: uprobe_helpers.c:234
off_t get_elf_func_offset(const char *path, const char *func)
Definition: uprobe_helpers.c:241
int get_pid_binary_path(pid_t pid, char *path, size_t path_sz)
Definition: uprobe_helpers.c:24