There are a few commands gdb uses to make the debugging experience better. These don't provide any extra information, but they make debugging quicker.
aliasesGEF overrides the typical gdb aliasing mechanism (which is done via alias).
Use aliases add <alias> <command> to add an alias. Use aliases rm <alias> to remove an alias.
aliases add p64 x/gxaliases rm p64Use aliases ls to view the current alias list.
aliases ls[+] Aliases defined:ctx → contexttelescope → dereferenceflags → edit-flagsstart → entry-breakfmtstr-helper → format-string-helperhl → highlighthighlight set → highlight addhla → highlight addhlc → highlight clearhighlight ls → highlight listhll → highlight listhighlight delete → highlight removehighlight del → highlight removehighlight unset → highlight removehighlight rm → highlight removehlr → highlight removenb → name-breakpattern offset → pattern searchpf → print-formatps → process-searchstatus → process-statuslookup → scangrep → search-patternxref → search-patternsc-get → shellcode get~/.gef.rc. You can edit the aliases directly in this file.configThis command shows the current GEF configuration. It reads from ~/.gef.rc and the gef section of ~/.gdbinit.
gef config─────────── GEF configuration settings ───────────assemble.default_architecture (str) = "X86"assemble.default_mode (str) = "64"capstone-disassemble.use-capstone (bool) = Falsecontext.clear_screen (bool) = Truecontext.enable (bool) = Truecontext.grow_stack_down (bool) = False......theme.source_current_line (str) = "green"theme.table_heading (str) = "blue"trace-run.max_tracing_recursion (int) = 1trace-run.tracefile_prefix (str) = "./gef-trace-"unicorn-emulate.show_disassembly (bool) = Falseunicorn-emulate.verbose (bool) = Falsevereference.max_recursion (int) = 7You can set a value in this configuration with gef config <key> <value>. For example, gef config context.enable False will disable the context.
gef restore[+] Configuration from '/home/ironforge/.gef.rc' restoredYou can make permanent changes by editing ~/.gef.rc or using gef save.
gef save[+] Configuration saved to '/home/ironforge/.gef.rc'