less gdb options
This commit is contained in:
parent
8323412415
commit
67495214a5
5 changed files with 1 additions and 261 deletions
|
@ -1,12 +1,7 @@
|
|||
{ ... }: {
|
||||
home.file = {
|
||||
".gef.rc" = {
|
||||
# source = ./gef-for-c;
|
||||
source = ./gef-for-asm;
|
||||
};
|
||||
".gdbinit" = {
|
||||
# source = ./gdb-for-c;
|
||||
source = ./gdb-for-asm;
|
||||
source = ./gdbinit;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
set debuginfod enabled off
|
||||
set disassembly-flavor intel
|
||||
|
|
@ -1,126 +0,0 @@
|
|||
[context]
|
||||
clear_screen = True
|
||||
enable = True
|
||||
grow_stack_down = True
|
||||
ignore_registers =
|
||||
layout = source regs stack
|
||||
libc_args = False
|
||||
libc_args_path =
|
||||
nb_lines_backtrace = 10
|
||||
nb_lines_backtrace_before = 2
|
||||
nb_lines_code = 6
|
||||
nb_lines_code_prev = 3
|
||||
nb_lines_stack = 10
|
||||
nb_lines_threads = -1
|
||||
peek_calls = True
|
||||
peek_ret = True
|
||||
redirect =
|
||||
show_opcodes_size = 0
|
||||
show_registers_raw = False
|
||||
show_source_code_variable_values = True
|
||||
show_stack_raw = False
|
||||
|
||||
[dereference]
|
||||
max_recursion = 7
|
||||
|
||||
[entry-break]
|
||||
entrypoint_symbols = main _main __libc_start_main __uClibc_main start _start
|
||||
|
||||
[gef]
|
||||
autosave_breakpoints_file =
|
||||
debug = False
|
||||
disable_color = False
|
||||
extra_plugins_dir =
|
||||
follow_child = True
|
||||
readline_compat = False
|
||||
show_deprecation_warnings = True
|
||||
tempdir = /tmp/gef
|
||||
|
||||
[got]
|
||||
function_not_resolved = yellow
|
||||
function_resolved = green
|
||||
|
||||
[heap-analysis-helper]
|
||||
check_double_free = True
|
||||
check_free_null = False
|
||||
check_heap_overlap = True
|
||||
check_uaf = True
|
||||
check_weird_free = True
|
||||
|
||||
[heap-chunks]
|
||||
peek_nb_byte = 16
|
||||
|
||||
[hexdump]
|
||||
always_show_ascii = False
|
||||
|
||||
[highlight]
|
||||
regex = False
|
||||
|
||||
[pattern]
|
||||
length = 1024
|
||||
|
||||
[pcustom]
|
||||
max_depth = 4
|
||||
struct_path = /tmp/gef/structs
|
||||
structure_name = bold blue
|
||||
structure_size = green
|
||||
structure_type = bold red
|
||||
|
||||
[process-search]
|
||||
ps_command = /usr/bin/ps auxww
|
||||
|
||||
[syscall-args]
|
||||
path = /tmp/gef/syscall-tables
|
||||
|
||||
[theme]
|
||||
address_code = red
|
||||
address_heap = green
|
||||
address_stack = pink
|
||||
context_title_line = gray
|
||||
context_title_message = cyan
|
||||
default_title_line = gray
|
||||
default_title_message = cyan
|
||||
dereference_base_address = cyan
|
||||
dereference_code = gray
|
||||
dereference_register_value = bold blue
|
||||
dereference_string = yellow
|
||||
disassemble_current_instruction = green
|
||||
old_context = gray
|
||||
registers_register_name = blue
|
||||
registers_value_changed = bold red
|
||||
source_current_line = green
|
||||
table_heading = blue
|
||||
|
||||
[trace-run]
|
||||
max_tracing_recursion = 1
|
||||
tracefile_prefix = ./gef-trace-
|
||||
|
||||
[aliases]
|
||||
ctx = context
|
||||
telescope = dereference
|
||||
flags = edit-flags
|
||||
start = entry-break
|
||||
fmtstr-helper = format-string-helper
|
||||
hl = highlight
|
||||
highlight set = highlight add
|
||||
hla = highlight add
|
||||
hlc = highlight clear
|
||||
highlight ls = highlight list
|
||||
hll = highlight list
|
||||
highlight delete = highlight remove
|
||||
highlight del = highlight remove
|
||||
highlight unset = highlight remove
|
||||
highlight rm = highlight remove
|
||||
hlr = highlight remove
|
||||
nb = name-break
|
||||
pattern offset = pattern search
|
||||
pf = print-format
|
||||
ps = process-search
|
||||
status = process-status
|
||||
lookup = scan
|
||||
grep = search-pattern
|
||||
xref = search-pattern
|
||||
sc-get = shellcode get
|
||||
sc-search = shellcode search
|
||||
screen-setup = tmux-setup
|
||||
|
|
@ -1,126 +0,0 @@
|
|||
[context]
|
||||
clear_screen = True
|
||||
enable = True
|
||||
grow_stack_down = False
|
||||
ignore_registers =
|
||||
layout = source args memory extra
|
||||
libc_args = False
|
||||
libc_args_path =
|
||||
nb_lines_backtrace = 10
|
||||
nb_lines_backtrace_before = 2
|
||||
nb_lines_code = 6
|
||||
nb_lines_code_prev = 3
|
||||
nb_lines_stack = 10
|
||||
nb_lines_threads = -1
|
||||
peek_calls = True
|
||||
peek_ret = True
|
||||
redirect =
|
||||
show_opcodes_size = 0
|
||||
show_registers_raw = False
|
||||
show_source_code_variable_values = True
|
||||
show_stack_raw = False
|
||||
|
||||
[dereference]
|
||||
max_recursion = 7
|
||||
|
||||
[entry-break]
|
||||
entrypoint_symbols = main _main __libc_start_main __uClibc_main start _start
|
||||
|
||||
[gef]
|
||||
autosave_breakpoints_file =
|
||||
debug = False
|
||||
disable_color = False
|
||||
extra_plugins_dir =
|
||||
follow_child = True
|
||||
readline_compat = False
|
||||
show_deprecation_warnings = True
|
||||
tempdir = /tmp/gef
|
||||
|
||||
[got]
|
||||
function_not_resolved = yellow
|
||||
function_resolved = green
|
||||
|
||||
[heap-analysis-helper]
|
||||
check_double_free = True
|
||||
check_free_null = False
|
||||
check_heap_overlap = True
|
||||
check_uaf = True
|
||||
check_weird_free = True
|
||||
|
||||
[heap-chunks]
|
||||
peek_nb_byte = 16
|
||||
|
||||
[hexdump]
|
||||
always_show_ascii = False
|
||||
|
||||
[highlight]
|
||||
regex = False
|
||||
|
||||
[pattern]
|
||||
length = 1024
|
||||
|
||||
[pcustom]
|
||||
max_depth = 4
|
||||
struct_path = /tmp/gef/structs
|
||||
structure_name = bold blue
|
||||
structure_size = green
|
||||
structure_type = bold red
|
||||
|
||||
[process-search]
|
||||
ps_command = /usr/bin/ps auxww
|
||||
|
||||
[syscall-args]
|
||||
path = /tmp/gef/syscall-tables
|
||||
|
||||
[theme]
|
||||
address_code = red
|
||||
address_heap = green
|
||||
address_stack = pink
|
||||
context_title_line = gray
|
||||
context_title_message = cyan
|
||||
default_title_line = gray
|
||||
default_title_message = cyan
|
||||
dereference_base_address = cyan
|
||||
dereference_code = gray
|
||||
dereference_register_value = bold blue
|
||||
dereference_string = yellow
|
||||
disassemble_current_instruction = green
|
||||
old_context = gray
|
||||
registers_register_name = blue
|
||||
registers_value_changed = bold red
|
||||
source_current_line = green
|
||||
table_heading = blue
|
||||
|
||||
[trace-run]
|
||||
max_tracing_recursion = 1
|
||||
tracefile_prefix = ./gef-trace-
|
||||
|
||||
[aliases]
|
||||
ctx = context
|
||||
telescope = dereference
|
||||
flags = edit-flags
|
||||
start = entry-break
|
||||
fmtstr-helper = format-string-helper
|
||||
hl = highlight
|
||||
highlight set = highlight add
|
||||
hla = highlight add
|
||||
hlc = highlight clear
|
||||
highlight ls = highlight list
|
||||
hll = highlight list
|
||||
highlight delete = highlight remove
|
||||
highlight del = highlight remove
|
||||
highlight unset = highlight remove
|
||||
highlight rm = highlight remove
|
||||
hlr = highlight remove
|
||||
nb = name-break
|
||||
pattern offset = pattern search
|
||||
pf = print-format
|
||||
ps = process-search
|
||||
status = process-status
|
||||
lookup = scan
|
||||
grep = search-pattern
|
||||
xref = search-pattern
|
||||
sc-get = shellcode get
|
||||
sc-search = shellcode search
|
||||
screen-setup = tmux-setup
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue