summaryrefslogtreecommitdiff
path: root/src/module.h
blob: a77a5651f18bd3d1edebabebad61bedf5e983fb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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;
};

struct module_s getModule(pid_t pid, const char* module_name);
void freeModule(struct module_s* mod);

#endif