#ifndef _VM_H_ #define _VM_H_ #include typedef struct VMMapping { uint64_t begin; uint64_t end; uint8_t r:1; uint8_t w:1; uint8_t x:1; uint8_t s:1; uint8_t p:1; const char *name; struct VMMapping *next; } VMMapping; VMMapping* parse_vmmap (int pid); #endif // _VM_H_