blob: 7fb83e1a33738fbbb8ad996f8742464fd90136e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef MODULE_H
#define MODULE_H
#include <sys/types.h>
#include <stdint.h>
struct module_s
{
char* name;
char* path;
void* base;
void* end;
uintptr_t size;
void* handle; //this will not be used for now, only internally with dlopen
};
struct module_s getModule(pid_t pid, const char* module_name);
void freeModule(struct module_s* mod);
#endif
|