trying arbitrary dotfiles in home manager
This commit is contained in:
parent
0972c6bb1b
commit
12ba6ea299
2 changed files with 136 additions and 2 deletions
126
base-system/dotfiles/gdb/.gef.rc
Normal file
126
base-system/dotfiles/gdb/.gef.rc
Normal file
|
@ -0,0 +1,126 @@
|
||||||
|
[context]
|
||||||
|
clear_screen = True
|
||||||
|
enable = True
|
||||||
|
grow_stack_down = False
|
||||||
|
ignore_registers =
|
||||||
|
layout = source args 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
|
||||||
|
|
|
@ -2,8 +2,16 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
# Set username and home directory
|
# Set username and home directory
|
||||||
home.username = "twoneis";
|
home = {
|
||||||
home.homeDirectory = "/home/twoneis";
|
username = "twoneis";
|
||||||
|
homeDirectory = "/home/twoneis";
|
||||||
|
|
||||||
|
file = {
|
||||||
|
".gef.rc" = {
|
||||||
|
source = "./dotfiles/gdb/.gef.rc";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue