Blob


1 #ifndef __DERMOB_H
2 #define __DERMOB_H
4 #include <err.h>
5 #include <unistd.h>
6 #include <fcntl.h>
7 #include <stdarg.h>
8 #include <string.h>
9 #include <stdio.h>
10 #include <stdlib.h>
11 #include <ctype.h>
12 #include <time.h>
14 #include <sys/uio.h>
15 #include <sys/stat.h>
16 #include <sys/sysctl.h>
17 #include <sys/types.h>
19 #include <arpa/inet.h>
21 #define BE 0
22 #define LE 1
24 // Trigger text display on/off
25 int trigger;
26 // Offset, size and address of __TEXT, __text section
27 int text_offset;
28 int text_size;
29 int text_addr;
30 // Offset, size and address of __TEXT, __cstring section
31 int cs_offset;
32 int cs_size;
33 int cs_addr;
34 // Offset, size and address of __DATA, __data section
35 int data_offset;
36 int data_size;
37 int data_addr;
39 int offset_moh;
41 // display shared libraries
42 int dynamic;
43 int dyn_display;
45 // Machine CPU type
46 int cpu;
47 // Machine byte order
48 int bo_a;
49 // Binary byte order
50 int bo_b;
51 // Size in bytes of the binary
52 size_t size;
55 struct list *lst;
57 #endif