diff --git a/bin/disk-benchmark b/bin/disk-benchmark index 4eabad7..ad46705 100755 --- a/bin/disk-benchmark +++ b/bin/disk-benchmark @@ -3,6 +3,7 @@ set -ue FILENAME=${1} +BENCHMARK_SIZE=${BENCHMARK_SIZE:-1000m} if [ -f ${FILENAME} ] ; then echo "File ${FILENAME} already exists!" >/dev/stderr @@ -11,7 +12,8 @@ fi trap "test -f ${FILENAME} && rm -f ${FILENAME}" EXIT -fio --loops=5 --size=1000m --filename=${FILENAME} --stonewall --ioengine=libaio --direct=1 \ +fio --loops=5 --size=${BENCHMARK_SIZE} --filename=${FILENAME} \ + --stonewall --ioengine=libaio --direct=1 \ --name=Seqread --bs=1m --rw=read \ --name=Seqwrite --bs=1m --rw=write \ --name=512Kread --bs=512k --rw=randread \ diff --git a/dotfiles/gef.rc b/dotfiles/gef.rc new file mode 100644 index 0000000..6624d21 --- /dev/null +++ b/dotfiles/gef.rc @@ -0,0 +1,125 @@ +[context] +clear_screen = False +enable = True +grow_stack_down = False +ignore_registers = +layout = legend regs stack code args source memory threads trace extra +nb_lines_backtrace = 10 +nb_lines_code = 6 +nb_lines_code_prev = 3 +nb_lines_stack = 8 +nb_lines_threads = -1 +peek_calls = True +peek_ret = True +redirect = +show_registers_raw = False +show_stack_raw = False + +[dereference] +max_recursion = 7 + +[entry-break] +entrypoint_symbols = main _main __libc_start_main __uClibc_main start _start + +[gef-remote] +clean_on_exit = False + +[gef] +autosave_breakpoints_file = +debug = False +disable_color = False +extra_plugins_dir = +follow_child = True +readline_compat = False + +[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 + +[ida-interact] +host = 127.0.0.1 +port = 1337 +sync_cursor = False + +[pattern] +length = 1024 + +[pcustom] +struct_path = /tmp/gef/structs + +[process-search] +ps_command = /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 +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] +pf = print-format +status = process-status +binaryninja-interact = ida-interact +bn = ida-interact +binja = ida-interact +lookup = scan +grep = search-pattern +xref = search-pattern +flags = edit-flags +sc-search = shellcode search +sc-get = shellcode get +ps = process-search +start = entry-break +nb = name-break +ctx = context +telescope = dereference +pattern offset = pattern search +hl = highlight +highlight ls = highlight list +hll = highlight list +hlc = highlight clear +highlight set = highlight add +hla = highlight add +highlight delete = highlight remove +highlight del = highlight remove +highlight unset = highlight remove +highlight rm = highlight remove +hlr = highlight remove +fmtstr-helper = format-string-helper +screen-setup = tmux-setup + diff --git a/dotfiles/vim/pack/matir/opt/solarized8 b/dotfiles/vim/pack/matir/opt/solarized8 index 9afbe12..b9731ee 160000 --- a/dotfiles/vim/pack/matir/opt/solarized8 +++ b/dotfiles/vim/pack/matir/opt/solarized8 @@ -1 +1 @@ -Subproject commit 9afbe12f68082df4fab92d3cef3050910e7e9af2 +Subproject commit b9731eed54c9ed9520d19c08b582f8e8f8355576 diff --git a/dotfiles/vim/pack/matir/start/fugitive b/dotfiles/vim/pack/matir/start/fugitive index 35f1095..c63fd1b 160000 --- a/dotfiles/vim/pack/matir/start/fugitive +++ b/dotfiles/vim/pack/matir/start/fugitive @@ -1 +1 @@ -Subproject commit 35f1095f9b3ce70768bdd75dae76437cfa69dd02 +Subproject commit c63fd1b71be037d4fd583649303875ad0fd17b57 diff --git a/dotfiles/vim/pack/matir/start/vim-go b/dotfiles/vim/pack/matir/start/vim-go index 13128e5..8cecefd 160000 --- a/dotfiles/vim/pack/matir/start/vim-go +++ b/dotfiles/vim/pack/matir/start/vim-go @@ -1 +1 @@ -Subproject commit 13128e5f303b1445ecac1539261b91763f2135ea +Subproject commit 8cecefd77a40e8c9b9bbdbd2475a3f5bc64f591a diff --git a/dotfiles/zprezto b/dotfiles/zprezto index 9507a0e..8914274 160000 --- a/dotfiles/zprezto +++ b/dotfiles/zprezto @@ -1 +1 @@ -Subproject commit 9507a0e881ae71528c9a4182e53c62f2896c8d31 +Subproject commit 8914274ca9f7b997d4a1663e0f290c691772db7f diff --git a/python3.pip b/python3.pip new file mode 100644 index 0000000..7979379 --- /dev/null +++ b/python3.pip @@ -0,0 +1,5 @@ +ipython +keystone-engine +unicorn +capstone +ropper