Blame


1 9ed434d7 2006-08-09 matthias> #ifndef __DERMOB_H
2 9ed434d7 2006-08-09 matthias> #define __DERMOB_H
3 9ed434d7 2006-08-09 matthias>
4 928cc06f 2006-08-08 matthias> #include <err.h>
5 928cc06f 2006-08-08 matthias> #include <unistd.h>
6 928cc06f 2006-08-08 matthias> #include <fcntl.h>
7 928cc06f 2006-08-08 matthias> #include <stdarg.h>
8 928cc06f 2006-08-08 matthias> #include <string.h>
9 928cc06f 2006-08-08 matthias> #include <stdio.h>
10 928cc06f 2006-08-08 matthias> #include <stdlib.h>
11 1e79e53d 2006-08-09 matthias> #include <ctype.h>
12 d5661a8d 2012-09-11 matthias #include <time.h>
13 928cc06f 2006-08-08 matthias>
14 928cc06f 2006-08-08 matthias> #include <sys/uio.h>
15 928cc06f 2006-08-08 matthias> #include <sys/stat.h>
16 f3cfd5fa 2006-08-10 matthias> #include <sys/sysctl.h>
17 928cc06f 2006-08-08 matthias> #include <sys/types.h>
18 928cc06f 2006-08-08 matthias>
19 928cc06f 2006-08-08 matthias> #include <arpa/inet.h>
20 928cc06f 2006-08-08 matthias>
21 a27a8797 2006-08-09 matthias> #define BE 0
22 a27a8797 2006-08-09 matthias> #define LE 1
23 a27a8797 2006-08-09 matthias>
24 34755f48 2006-08-09 matthias> // Trigger text display on/off
25 9ed434d7 2006-08-09 matthias> int trigger;
26 34755f48 2006-08-09 matthias> // Offset, size and address of __TEXT, __text section
27 9ed434d7 2006-08-09 matthias> int text_offset;
28 9ed434d7 2006-08-09 matthias> int text_size;
29 9ed434d7 2006-08-09 matthias> int text_addr;
30 e5c4b07e 2006-08-12 matthias> // Offset, size and address of __TEXT, __cstring section
31 e5c4b07e 2006-08-12 matthias> int cs_offset;
32 e5c4b07e 2006-08-12 matthias> int cs_size;
33 e5c4b07e 2006-08-12 matthias> int cs_addr;
34 bea087b4 2006-08-12 matthias> // Offset, size and address of __DATA, __data section
35 9493a05a 2006-08-09 matthias> int data_offset;
36 9493a05a 2006-08-09 matthias> int data_size;
37 9493a05a 2006-08-09 matthias> int data_addr;
38 9493a05a 2006-08-09 matthias>
39 3dc682c0 2006-08-10 matthias> int offset_moh;
40 3dc682c0 2006-08-10 matthias>
41 34755f48 2006-08-09 matthias> // display shared libraries
42 680a6eb2 2006-08-09 matthias> int dynamic;
43 26990849 2006-08-09 matthias> int dyn_display;
44 34755f48 2006-08-09 matthias>
45 34755f48 2006-08-09 matthias> // Machine CPU type
46 a27a8797 2006-08-09 matthias> int cpu;
47 34755f48 2006-08-09 matthias> // Machine byte order
48 a27a8797 2006-08-09 matthias> int bo_a;
49 34755f48 2006-08-09 matthias> // Binary byte order
50 a27a8797 2006-08-09 matthias> int bo_b;
51 a2a93b84 2006-08-12 matthias> // Size in bytes of the binary
52 a2a93b84 2006-08-12 matthias> size_t size;
53 928cc06f 2006-08-08 matthias>
54 75c46552 2006-08-15 matthias>
55 75c46552 2006-08-15 matthias> struct list *lst;
56 75c46552 2006-08-15 matthias>
57 9493a05a 2006-08-09 matthias> #endif