Rizin
unix-like reverse engineering framework and cli tools
rz_userconf.h
Go to the documentation of this file.
1
#ifndef RZ_CONFIGURE_H
2
#define RZ_CONFIGURE_H
3
4
#include "
rz_version.h
"
5
6
// clang-format off
7
#define RZ_CHECKS_LEVEL 2
8
#define DEBUGGER 1
9
#define HAVE_THREADS 1
10
#define HAVE_PTHREAD 1
11
#define HAVE_LZMA 1
12
#define HAVE_ZLIB 1
13
#define HAVE_DECL_ADDR_NO_RANDOMIZE 1
14
#define HAVE_DECL_PROCCTL_ASLR_CTL 0
15
#define HAVE_ARC4RANDOM_UNIFORM 0
16
#define HAVE_EXPLICIT_BZERO 1
17
#define HAVE_EXPLICIT_MEMSET 0
18
#define HAVE_CLOCK_NANOSLEEP 1
19
#define HAVE_SIGACTION 1
20
#define HAVE_PIPE 1
21
#define HAVE_EXECV 1
22
#define HAVE_EXECVE 1
23
#define HAVE_EXECVP 1
24
#define HAVE_EXECL 1
25
#define HAVE_SYSTEM 1
26
#define HAVE_REALPATH 1
27
#define HAVE_PIPE2 1
28
#define HAVE_ENVIRON 1
29
#define HAVE_OPENPTY 1
30
#define HAVE_FORKPTY 1
31
#define HAVE_LOGIN_TTY 1
32
#define HAVE_SHM_OPEN 1
33
#define HAVE_LIB_MAGIC 0
34
#define USE_LIB_MAGIC 0
35
#define HAVE_LIB_XXHASH 1
36
#define USE_LIB_XXHASH 1
37
#define HAVE_LIB_SSL 0
38
#define HAVE_LIBUV 1
39
#define HAVE_PTRACE 1
40
#define USE_PTRACE_WRAP 1
41
#define HAVE_FORK 1
42
#define HAVE_STRLCPY 0
43
#define HAVE_STRNLEN 1
44
#define WANT_DYLINK 1
45
#define WITH_GPL 1
46
#define HAVE_JEMALLOC 1
47
#define IS_IOS 0
48
#define RZ_BUILD_DEBUG 1
49
#define WITH_SWIFT_DEMANGLER 1
50
#define HAVE_COPYFILE 0
51
#define HAVE_COPY_FILE_RANGE 1
52
#define HAVE_BACKTRACE 1
53
54
#define HAVE_HEADER_LINUX_ASHMEM_H 0
55
#define HAVE_HEADER_SYS_SHM_H 1
56
#define HAVE_HEADER_SYS_IPC_H 1
57
#define HAVE_HEADER_SYS_MMAN_H 1
58
#define HAVE_HEADER_INTTYPES_H 1
59
60
#define RZ_IS_PORTABLE 0
61
62
#define RZ_BINDIR_DEPTH 1
63
// clang-format on
64
65
#define RZ_PREFIX "/usr/local"
66
#define RZ_BINDIR "bin"
67
#define RZ_LIBDIR "lib/x86_64-linux-gnu"
68
#define RZ_INCDIR "include/librz"
69
#define RZ_DATDIR "share"
70
#define RZ_WWWROOT "share/rizin/www"
71
72
#define RZ_PLUGINS "lib/x86_64-linux-gnu/rizin/plugins"
73
#define RZ_DATADIR "share/rizin"
74
#define RZ_SDB "share/rizin"
75
#define RZ_SIGDB "share/rizin/sigdb"
76
#define RZ_THEMES "share/rizin/cons"
77
#define RZ_FORTUNES "share/rizin/fortunes"
78
#define RZ_FLAGS "share/rizin/flag"
79
#define RZ_HUD "share/rizin/hud"
80
81
#define RZ_SDB_ARCH_PLATFORMS RZ_JOIN_3_PATHS(RZ_SDB, "asm"
, "platforms")
82
#define RZ_SDB_ARCH_CPUS RZ_JOIN_3_PATHS(RZ_SDB, "asm"
, "cpus")
83
#define RZ_SDB_TYPES RZ_JOIN_2_PATHS(RZ_SDB, "types"
)
84
#define RZ_SDB_OPCODES RZ_JOIN_2_PATHS(RZ_SDB, "opcodes"
)
85
#define RZ_SDB_REG RZ_JOIN_2_PATHS(RZ_SDB, "reg"
)
86
#define RZ_SDB_MAGIC RZ_JOIN_2_PATHS(RZ_SDB, "magic"
)
87
#define RZ_SDB_FORMAT RZ_JOIN_2_PATHS(RZ_SDB, "format"
)
88
#define RZ_PDB RZ_JOIN_2_PATHS(RZ_DATADIR, "pdb"
)
89
#define RZ_PROJECTS RZ_JOIN_2_PATHS(RZ_DATADIR, "projects"
)
90
#define RZ_BINRC RZ_JOIN_2_PATHS(RZ_DATADIR, "rc.d"
)
91
92
#define RZ_HOME_PREFIX ".local"
93
#define RZ_HOME_CONFIGDIR RZ_JOIN_2_PATHS(".config"
, "rizin")
94
#define RZ_HOME_CACHEDIR RZ_JOIN_2_PATHS(".cache"
, "rizin")
95
96
#define RZ_HOME_HISTORY RZ_JOIN_2_PATHS(RZ_HOME_CACHEDIR, "history"
)
97
// NOTE: Temporarly added only for compatibility reasons given that the plugin
98
// directory has changed. For one release we are going to support also old paths
99
// to give distros, plugin maintainers, etc. a bit more time to adapt
100
#define RZ_HOME_OLD_PLUGINS RZ_JOIN_3_PATHS("share"
, "rizin", "plugins")
101
102
#define RZ_HOME_CONFIG_RC RZ_JOIN_2_PATHS(RZ_HOME_CONFIGDIR, "rizinrc"
)
103
#define RZ_HOME_CONFIG_RC_DIR RZ_JOIN_2_PATHS(RZ_HOME_CONFIGDIR, "rizinrc.d"
)
104
#define RZ_GLOBAL_RC RZ_JOIN_2_PATHS(RZ_DATADIR, "rizinrc"
)
105
#define RZ_HOME_RC ".rizinrc"
106
107
#endif
rz_version.h
build
rz_userconf.h
Generated by
1.9.1