From c0b2bfce83a22343e32aac82d861e3617e9790aa Mon Sep 17 00:00:00 2001 From: satk0 Date: Fri, 12 Jul 2024 23:57:45 +0200 Subject: [PATCH] Fixes according to the review --- _quarto.yml | 4 ++-- ...variables.md => compile_time_variables.md} | 0 ...ime_variables.md => run_time_variables.md} | 24 ++++++++++++++----- 3 files changed, 20 insertions(+), 8 deletions(-) rename src/configuration/{compile-time_variables.md => compile_time_variables.md} (100%) rename src/configuration/{run-time_variables.md => run_time_variables.md} (60%) diff --git a/_quarto.yml b/_quarto.yml index 32b5c82d..9b125982 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -38,8 +38,8 @@ book: - src/configuration/colors.md - src/configuration/evars.md - src/configuration/initial_scripts.md - - src/configuration/compile-time_variables.md - - src/configuration/run-time_variables.md + - src/configuration/compile_time_variables.md + - src/configuration/run_time_variables.md - part: "Basic Commands" chapters: diff --git a/src/configuration/compile-time_variables.md b/src/configuration/compile_time_variables.md similarity index 100% rename from src/configuration/compile-time_variables.md rename to src/configuration/compile_time_variables.md diff --git a/src/configuration/run-time_variables.md b/src/configuration/run_time_variables.md similarity index 60% rename from src/configuration/run-time_variables.md rename to src/configuration/run_time_variables.md index 01323bc5..277cd804 100644 --- a/src/configuration/run-time_variables.md +++ b/src/configuration/run_time_variables.md @@ -1,12 +1,17 @@ ## Run-Time Variables -After successful compilation, run-time variables will be exposed to change the default behavior of rizin. +Run-time variables (also known as environment variables) can be used to change the default behavior when running rizin or tools. -Description of these run-time variables can be accessed by executing the command `rizin -hh` on a terminal. +The description of these run-time variables can be accessed by executing the command `rizin -hh` on a terminal. ```bash $ rizin -hh ... +Plugins: + binrc /home/username/.local/share/rizin/rc.d/bin- (elf, elf64, mach0, ..) + RZ_USER_PLUGINS /home/username/.local/lib/rizin/plugins + RZ_LIB_PLUGINS /home/username/.local/lib/rizin/plugins + RZ_EXTRA_PLUGINS Environment: ANSICON ansicon's W & H of the buffer and w & h of the window in the form of: "WxH (wxh)" DEBUGINFOD_URLS e bin.dbginfo.debuginfod_urls - use alternative debuginfod server @@ -24,11 +29,18 @@ Environment: RZ_LOGSHOWSOURCES should the log output contain src info (filename:lineno) RZ_PIPE_IN rzpipe cmd input (file descriptor) RZ_PIPE_OUT rzpipe cmd output (file descriptor) - RZ_MAGICPATH /home/adam/.local/share/rizin/magic + RZ_MAGICPATH /home/username/.local/share/rizin/magic RZ_NOPLUGINS do not load rizin shared plugins - RZ_RCFILE /home/adam/.rizinrc (user preferences, batch script) - RZ_DATAHOME /home/adam/.local/share/rizin + RZ_RCFILE /home/username/.rizinrc (user preferences, batch script) + RZ_DATAHOME /home/username/.local/share/rizin RZ_VERSION contains the current version of rizin SFLIBPATH SFLib syscall library path -... +Paths: + RZ_PREFIX /home/username/.local + RZ_EXTRA_PREFIX + RZ_INCDIR /home/username/.local/include/librz + RZ_LIBDIR /home/username/.local/lib + RZ_SIGDB /home/username/.local/share/rizin/sigdb + RZ_EXTRA_SIGDB + RZ_LIBEXT so ```