Skip to content

Commit

Permalink
Rename some of the environment variables (#3812)
Browse files Browse the repository at this point in the history
  • Loading branch information
byteninjaa0 authored Sep 2, 2023
1 parent ce29839 commit c9b16ea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion doc/fortunes.tips
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Setup dbg.fpregs to true to visualize the fpu registers in the debugger view.
To debug a program, you can call rizin with 'dbg://<path-to-program>' or '-d <path..>'
Use 'e' and 't' in Visual mode to edit configuration and track flags.
Use 'rz-bin -ris' to get the import/export symbols of any binary.
Remember to maintain your `$(rizin -H RZ_RCACHEHOME)/history` file!
Remember to maintain your `$(rizin -H RZ_CACHEHOME)/history` file!
Enable the PAGER with 'e scr.pager=less -R'
Use 'e asm.offset=true' to show offsets in 16bit segment addressing mode.
The '?' command can be used to evaluate math expressions. Like this: '? (0x34+22)*4'
Expand Down
2 changes: 1 addition & 1 deletion librz/include/rz_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RZ_LIB_VERSION_HEADER(rz_lib);
#define RZ_LIB_SYMNAME "rizin_plugin"
#define RZ_LIB_SYMFUNC "rizin_plugin_function"

#define RZ_LIB_ENV "RZ_LIBR_PLUGINS"
#define RZ_LIB_ENV "RZ_LIB_PLUGINS"

/* TODO: This must depend on HOST_OS, and maybe move into rz_types */
#if __WINDOWS__
Expand Down
12 changes: 6 additions & 6 deletions librz/main/rizin.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,15 @@ static int main_help(int line) {
"Plugins:\n"
" binrc %s (elf, elf64, mach0, ..)\n"
" RZ_USER_PLUGINS %s\n"
" RZ_LIBR_PLUGINS %s\n"
" RZ_LIB_PLUGINS %s\n"
" RZ_EXTRA_PLUGINS %s\n"
"Environment:\n"
" RZ_DEBUG if defined, show error messages and crash signal\n"
" RZ_DEBUG_ASSERT=1 set a breakpoint when hitting an assert\n"
" RZ_MAGICPATH %s\n"
" RZ_NOPLUGINS do not load rizin shared plugins\n"
" RZ_RCFILE %s (user preferences, batch script)\n"
" RZ_RDATAHOME %s\n"
" RZ_DATAHOME %s\n"
" RZ_VERSION contains the current version of rizin\n"
"Paths:\n"
" RZ_PREFIX %s\n"
Expand Down Expand Up @@ -254,10 +254,10 @@ static int main_print_var(const char *var_name) {
{ "RZ_SIGDB", sigdbdir },
{ "RZ_EXTRA_SIGDB", rz_str_get(extrasigdbdir) },
{ "RZ_LIBEXT", RZ_LIB_EXT },
{ "RZ_RCONFIGHOME", confighome },
{ "RZ_RDATAHOME", datahome },
{ "RZ_RCACHEHOME", cachehome },
{ "RZ_LIBR_PLUGINS", plugins },
{ "RZ_CONFIGHOME", confighome },
{ "RZ_DATAHOME", datahome },
{ "RZ_CACHEHOME", cachehome },
{ "RZ_LIB_PLUGINS", plugins },
{ "RZ_EXTRA_PLUGINS", rz_str_get(extraplugins) },
{ "RZ_USER_PLUGINS", homeplugins },
{ "RZ_IS_PORTABLE", is_portable },
Expand Down

0 comments on commit c9b16ea

Please sign in to comment.