Rizin
unix-like reverse engineering framework and cli tools
rz_userconf.h File Reference
#include "rz_version.h"

Go to the source code of this file.

Macros

#define RZ_CHECKS_LEVEL   2
 
#define DEBUGGER   1
 
#define HAVE_THREADS   1
 
#define HAVE_PTHREAD   1
 
#define HAVE_LZMA   1
 
#define HAVE_ZLIB   1
 
#define HAVE_DECL_ADDR_NO_RANDOMIZE   1
 
#define HAVE_DECL_PROCCTL_ASLR_CTL   0
 
#define HAVE_ARC4RANDOM_UNIFORM   0
 
#define HAVE_EXPLICIT_BZERO   1
 
#define HAVE_EXPLICIT_MEMSET   0
 
#define HAVE_CLOCK_NANOSLEEP   1
 
#define HAVE_SIGACTION   1
 
#define HAVE_PIPE   1
 
#define HAVE_EXECV   1
 
#define HAVE_EXECVE   1
 
#define HAVE_EXECVP   1
 
#define HAVE_EXECL   1
 
#define HAVE_SYSTEM   1
 
#define HAVE_REALPATH   1
 
#define HAVE_PIPE2   1
 
#define HAVE_ENVIRON   1
 
#define HAVE_OPENPTY   1
 
#define HAVE_FORKPTY   1
 
#define HAVE_LOGIN_TTY   1
 
#define HAVE_SHM_OPEN   1
 
#define HAVE_LIB_MAGIC   0
 
#define USE_LIB_MAGIC   0
 
#define HAVE_LIB_XXHASH   1
 
#define USE_LIB_XXHASH   1
 
#define HAVE_LIB_SSL   0
 
#define HAVE_LIBUV   1
 
#define HAVE_PTRACE   1
 
#define USE_PTRACE_WRAP   1
 
#define HAVE_FORK   1
 
#define HAVE_STRLCPY   0
 
#define HAVE_STRNLEN   1
 
#define WANT_DYLINK   1
 
#define WITH_GPL   1
 
#define HAVE_JEMALLOC   1
 
#define IS_IOS   0
 
#define RZ_BUILD_DEBUG   1
 
#define WITH_SWIFT_DEMANGLER   1
 
#define HAVE_COPYFILE   0
 
#define HAVE_COPY_FILE_RANGE   1
 
#define HAVE_BACKTRACE   1
 
#define HAVE_HEADER_LINUX_ASHMEM_H   0
 
#define HAVE_HEADER_SYS_SHM_H   1
 
#define HAVE_HEADER_SYS_IPC_H   1
 
#define HAVE_HEADER_SYS_MMAN_H   1
 
#define HAVE_HEADER_INTTYPES_H   1
 
#define RZ_IS_PORTABLE   0
 
#define RZ_BINDIR_DEPTH   1
 
#define RZ_PREFIX   "/usr/local"
 
#define RZ_BINDIR   "bin"
 
#define RZ_LIBDIR   "lib/x86_64-linux-gnu"
 
#define RZ_INCDIR   "include/librz"
 
#define RZ_DATDIR   "share"
 
#define RZ_WWWROOT   "share/rizin/www"
 
#define RZ_PLUGINS   "lib/x86_64-linux-gnu/rizin/plugins"
 
#define RZ_DATADIR   "share/rizin"
 
#define RZ_SDB   "share/rizin"
 
#define RZ_SIGDB   "share/rizin/sigdb"
 
#define RZ_THEMES   "share/rizin/cons"
 
#define RZ_FORTUNES   "share/rizin/fortunes"
 
#define RZ_FLAGS   "share/rizin/flag"
 
#define RZ_HUD   "share/rizin/hud"
 
#define RZ_SDB_ARCH_PLATFORMS   RZ_JOIN_3_PATHS(RZ_SDB, "asm", "platforms")
 
#define RZ_SDB_ARCH_CPUS   RZ_JOIN_3_PATHS(RZ_SDB, "asm", "cpus")
 
#define RZ_SDB_TYPES   RZ_JOIN_2_PATHS(RZ_SDB, "types")
 
#define RZ_SDB_OPCODES   RZ_JOIN_2_PATHS(RZ_SDB, "opcodes")
 
#define RZ_SDB_REG   RZ_JOIN_2_PATHS(RZ_SDB, "reg")
 
#define RZ_SDB_MAGIC   RZ_JOIN_2_PATHS(RZ_SDB, "magic")
 
#define RZ_SDB_FORMAT   RZ_JOIN_2_PATHS(RZ_SDB, "format")
 
#define RZ_PDB   RZ_JOIN_2_PATHS(RZ_DATADIR, "pdb")
 
#define RZ_PROJECTS   RZ_JOIN_2_PATHS(RZ_DATADIR, "projects")
 
#define RZ_BINRC   RZ_JOIN_2_PATHS(RZ_DATADIR, "rc.d")
 
#define RZ_HOME_PREFIX   ".local"
 
#define RZ_HOME_CONFIGDIR   RZ_JOIN_2_PATHS(".config", "rizin")
 
#define RZ_HOME_CACHEDIR   RZ_JOIN_2_PATHS(".cache", "rizin")
 
#define RZ_HOME_HISTORY   RZ_JOIN_2_PATHS(RZ_HOME_CACHEDIR, "history")
 
#define RZ_HOME_OLD_PLUGINS   RZ_JOIN_3_PATHS("share", "rizin", "plugins")
 
#define RZ_HOME_CONFIG_RC   RZ_JOIN_2_PATHS(RZ_HOME_CONFIGDIR, "rizinrc")
 
#define RZ_HOME_CONFIG_RC_DIR   RZ_JOIN_2_PATHS(RZ_HOME_CONFIGDIR, "rizinrc.d")
 
#define RZ_GLOBAL_RC   RZ_JOIN_2_PATHS(RZ_DATADIR, "rizinrc")
 
#define RZ_HOME_RC   ".rizinrc"
 

Macro Definition Documentation

◆ DEBUGGER

#define DEBUGGER   1

Definition at line 8 of file rz_userconf.h.

◆ HAVE_ARC4RANDOM_UNIFORM

#define HAVE_ARC4RANDOM_UNIFORM   0

Definition at line 15 of file rz_userconf.h.

◆ HAVE_BACKTRACE

#define HAVE_BACKTRACE   1

Definition at line 52 of file rz_userconf.h.

◆ HAVE_CLOCK_NANOSLEEP

#define HAVE_CLOCK_NANOSLEEP   1

Definition at line 18 of file rz_userconf.h.

◆ HAVE_COPY_FILE_RANGE

#define HAVE_COPY_FILE_RANGE   1

Definition at line 51 of file rz_userconf.h.

◆ HAVE_COPYFILE

#define HAVE_COPYFILE   0

Definition at line 50 of file rz_userconf.h.

◆ HAVE_DECL_ADDR_NO_RANDOMIZE

#define HAVE_DECL_ADDR_NO_RANDOMIZE   1

Definition at line 13 of file rz_userconf.h.

◆ HAVE_DECL_PROCCTL_ASLR_CTL

#define HAVE_DECL_PROCCTL_ASLR_CTL   0

Definition at line 14 of file rz_userconf.h.

◆ HAVE_ENVIRON

#define HAVE_ENVIRON   1

Definition at line 28 of file rz_userconf.h.

◆ HAVE_EXECL

#define HAVE_EXECL   1

Definition at line 24 of file rz_userconf.h.

◆ HAVE_EXECV

#define HAVE_EXECV   1

Definition at line 21 of file rz_userconf.h.

◆ HAVE_EXECVE

#define HAVE_EXECVE   1

Definition at line 22 of file rz_userconf.h.

◆ HAVE_EXECVP

#define HAVE_EXECVP   1

Definition at line 23 of file rz_userconf.h.

◆ HAVE_EXPLICIT_BZERO

#define HAVE_EXPLICIT_BZERO   1

Definition at line 16 of file rz_userconf.h.

◆ HAVE_EXPLICIT_MEMSET

#define HAVE_EXPLICIT_MEMSET   0

Definition at line 17 of file rz_userconf.h.

◆ HAVE_FORK

#define HAVE_FORK   1

Definition at line 41 of file rz_userconf.h.

◆ HAVE_FORKPTY

#define HAVE_FORKPTY   1

Definition at line 30 of file rz_userconf.h.

◆ HAVE_HEADER_INTTYPES_H

#define HAVE_HEADER_INTTYPES_H   1

Definition at line 58 of file rz_userconf.h.

◆ HAVE_HEADER_LINUX_ASHMEM_H

#define HAVE_HEADER_LINUX_ASHMEM_H   0

Definition at line 54 of file rz_userconf.h.

◆ HAVE_HEADER_SYS_IPC_H

#define HAVE_HEADER_SYS_IPC_H   1

Definition at line 56 of file rz_userconf.h.

◆ HAVE_HEADER_SYS_MMAN_H

#define HAVE_HEADER_SYS_MMAN_H   1

Definition at line 57 of file rz_userconf.h.

◆ HAVE_HEADER_SYS_SHM_H

#define HAVE_HEADER_SYS_SHM_H   1

Definition at line 55 of file rz_userconf.h.

◆ HAVE_JEMALLOC

#define HAVE_JEMALLOC   1

Definition at line 46 of file rz_userconf.h.

◆ HAVE_LIB_MAGIC

#define HAVE_LIB_MAGIC   0

Definition at line 33 of file rz_userconf.h.

◆ HAVE_LIB_SSL

#define HAVE_LIB_SSL   0

Definition at line 37 of file rz_userconf.h.

◆ HAVE_LIB_XXHASH

#define HAVE_LIB_XXHASH   1

Definition at line 35 of file rz_userconf.h.

◆ HAVE_LIBUV

#define HAVE_LIBUV   1

Definition at line 38 of file rz_userconf.h.

◆ HAVE_LOGIN_TTY

#define HAVE_LOGIN_TTY   1

Definition at line 31 of file rz_userconf.h.

◆ HAVE_LZMA

#define HAVE_LZMA   1

Definition at line 11 of file rz_userconf.h.

◆ HAVE_OPENPTY

#define HAVE_OPENPTY   1

Definition at line 29 of file rz_userconf.h.

◆ HAVE_PIPE

#define HAVE_PIPE   1

Definition at line 20 of file rz_userconf.h.

◆ HAVE_PIPE2

#define HAVE_PIPE2   1

Definition at line 27 of file rz_userconf.h.

◆ HAVE_PTHREAD

#define HAVE_PTHREAD   1

Definition at line 10 of file rz_userconf.h.

◆ HAVE_PTRACE

#define HAVE_PTRACE   1

Definition at line 39 of file rz_userconf.h.

◆ HAVE_REALPATH

#define HAVE_REALPATH   1

Definition at line 26 of file rz_userconf.h.

◆ HAVE_SHM_OPEN

#define HAVE_SHM_OPEN   1

Definition at line 32 of file rz_userconf.h.

◆ HAVE_SIGACTION

#define HAVE_SIGACTION   1

Definition at line 19 of file rz_userconf.h.

◆ HAVE_STRLCPY

#define HAVE_STRLCPY   0

Definition at line 42 of file rz_userconf.h.

◆ HAVE_STRNLEN

#define HAVE_STRNLEN   1

Definition at line 43 of file rz_userconf.h.

◆ HAVE_SYSTEM

#define HAVE_SYSTEM   1

Definition at line 25 of file rz_userconf.h.

◆ HAVE_THREADS

#define HAVE_THREADS   1

Definition at line 9 of file rz_userconf.h.

◆ HAVE_ZLIB

#define HAVE_ZLIB   1

Definition at line 12 of file rz_userconf.h.

◆ IS_IOS

#define IS_IOS   0

Definition at line 47 of file rz_userconf.h.

◆ RZ_BINDIR

#define RZ_BINDIR   "bin"

Definition at line 66 of file rz_userconf.h.

◆ RZ_BINDIR_DEPTH

#define RZ_BINDIR_DEPTH   1

Definition at line 62 of file rz_userconf.h.

◆ RZ_BINRC

#define RZ_BINRC   RZ_JOIN_2_PATHS(RZ_DATADIR, "rc.d")

Definition at line 90 of file rz_userconf.h.

◆ RZ_BUILD_DEBUG

#define RZ_BUILD_DEBUG   1

Definition at line 48 of file rz_userconf.h.

◆ RZ_CHECKS_LEVEL

#define RZ_CHECKS_LEVEL   2

Definition at line 7 of file rz_userconf.h.

◆ RZ_DATADIR

#define RZ_DATADIR   "share/rizin"

Definition at line 73 of file rz_userconf.h.

◆ RZ_DATDIR

#define RZ_DATDIR   "share"

Definition at line 69 of file rz_userconf.h.

◆ RZ_FLAGS

#define RZ_FLAGS   "share/rizin/flag"

Definition at line 78 of file rz_userconf.h.

◆ RZ_FORTUNES

#define RZ_FORTUNES   "share/rizin/fortunes"

Definition at line 77 of file rz_userconf.h.

◆ RZ_GLOBAL_RC

#define RZ_GLOBAL_RC   RZ_JOIN_2_PATHS(RZ_DATADIR, "rizinrc")

Definition at line 104 of file rz_userconf.h.

◆ RZ_HOME_CACHEDIR

#define RZ_HOME_CACHEDIR   RZ_JOIN_2_PATHS(".cache", "rizin")

Definition at line 94 of file rz_userconf.h.

◆ RZ_HOME_CONFIG_RC

#define RZ_HOME_CONFIG_RC   RZ_JOIN_2_PATHS(RZ_HOME_CONFIGDIR, "rizinrc")

Definition at line 102 of file rz_userconf.h.

◆ RZ_HOME_CONFIG_RC_DIR

#define RZ_HOME_CONFIG_RC_DIR   RZ_JOIN_2_PATHS(RZ_HOME_CONFIGDIR, "rizinrc.d")

Definition at line 103 of file rz_userconf.h.

◆ RZ_HOME_CONFIGDIR

#define RZ_HOME_CONFIGDIR   RZ_JOIN_2_PATHS(".config", "rizin")

Definition at line 93 of file rz_userconf.h.

◆ RZ_HOME_HISTORY

#define RZ_HOME_HISTORY   RZ_JOIN_2_PATHS(RZ_HOME_CACHEDIR, "history")

Definition at line 96 of file rz_userconf.h.

◆ RZ_HOME_OLD_PLUGINS

#define RZ_HOME_OLD_PLUGINS   RZ_JOIN_3_PATHS("share", "rizin", "plugins")

Definition at line 100 of file rz_userconf.h.

◆ RZ_HOME_PREFIX

#define RZ_HOME_PREFIX   ".local"

Definition at line 92 of file rz_userconf.h.

◆ RZ_HOME_RC

#define RZ_HOME_RC   ".rizinrc"

Definition at line 105 of file rz_userconf.h.

◆ RZ_HUD

#define RZ_HUD   "share/rizin/hud"

Definition at line 79 of file rz_userconf.h.

◆ RZ_INCDIR

#define RZ_INCDIR   "include/librz"

Definition at line 68 of file rz_userconf.h.

◆ RZ_IS_PORTABLE

#define RZ_IS_PORTABLE   0

Definition at line 60 of file rz_userconf.h.

◆ RZ_LIBDIR

#define RZ_LIBDIR   "lib/x86_64-linux-gnu"

Definition at line 67 of file rz_userconf.h.

◆ RZ_PDB

#define RZ_PDB   RZ_JOIN_2_PATHS(RZ_DATADIR, "pdb")

Definition at line 88 of file rz_userconf.h.

◆ RZ_PLUGINS

#define RZ_PLUGINS   "lib/x86_64-linux-gnu/rizin/plugins"

Definition at line 72 of file rz_userconf.h.

◆ RZ_PREFIX

#define RZ_PREFIX   "/usr/local"

Definition at line 65 of file rz_userconf.h.

◆ RZ_PROJECTS

#define RZ_PROJECTS   RZ_JOIN_2_PATHS(RZ_DATADIR, "projects")

Definition at line 89 of file rz_userconf.h.

◆ RZ_SDB

#define RZ_SDB   "share/rizin"

Definition at line 74 of file rz_userconf.h.

◆ RZ_SDB_ARCH_CPUS

#define RZ_SDB_ARCH_CPUS   RZ_JOIN_3_PATHS(RZ_SDB, "asm", "cpus")

Definition at line 82 of file rz_userconf.h.

◆ RZ_SDB_ARCH_PLATFORMS

#define RZ_SDB_ARCH_PLATFORMS   RZ_JOIN_3_PATHS(RZ_SDB, "asm", "platforms")

Definition at line 81 of file rz_userconf.h.

◆ RZ_SDB_FORMAT

#define RZ_SDB_FORMAT   RZ_JOIN_2_PATHS(RZ_SDB, "format")

Definition at line 87 of file rz_userconf.h.

◆ RZ_SDB_MAGIC

#define RZ_SDB_MAGIC   RZ_JOIN_2_PATHS(RZ_SDB, "magic")

Definition at line 86 of file rz_userconf.h.

◆ RZ_SDB_OPCODES

#define RZ_SDB_OPCODES   RZ_JOIN_2_PATHS(RZ_SDB, "opcodes")

Definition at line 84 of file rz_userconf.h.

◆ RZ_SDB_REG

#define RZ_SDB_REG   RZ_JOIN_2_PATHS(RZ_SDB, "reg")

Definition at line 85 of file rz_userconf.h.

◆ RZ_SDB_TYPES

#define RZ_SDB_TYPES   RZ_JOIN_2_PATHS(RZ_SDB, "types")

Definition at line 83 of file rz_userconf.h.

◆ RZ_SIGDB

#define RZ_SIGDB   "share/rizin/sigdb"

Definition at line 75 of file rz_userconf.h.

◆ RZ_THEMES

#define RZ_THEMES   "share/rizin/cons"

Definition at line 76 of file rz_userconf.h.

◆ RZ_WWWROOT

#define RZ_WWWROOT   "share/rizin/www"

Definition at line 70 of file rz_userconf.h.

◆ USE_LIB_MAGIC

#define USE_LIB_MAGIC   0

Definition at line 34 of file rz_userconf.h.

◆ USE_LIB_XXHASH

#define USE_LIB_XXHASH   1

Definition at line 36 of file rz_userconf.h.

◆ USE_PTRACE_WRAP

#define USE_PTRACE_WRAP   1

Definition at line 40 of file rz_userconf.h.

◆ WANT_DYLINK

#define WANT_DYLINK   1

Definition at line 44 of file rz_userconf.h.

◆ WITH_GPL

#define WITH_GPL   1

Definition at line 45 of file rz_userconf.h.

◆ WITH_SWIFT_DEMANGLER

#define WITH_SWIFT_DEMANGLER   1

Definition at line 49 of file rz_userconf.h.