From de3d53be90b96f9880fc1a981c0056172b8b1651 Mon Sep 17 00:00:00 2001 From: d-millar <33498836+d-millar@users.noreply.github.com> Date: Thu, 1 Jun 2023 13:16:13 -0400 Subject: [PATCH] GP-0: template for 'maint info sections' GP-0: template for 'maint info sections' --- Ghidra/Debug/Debugger-agent-gdb/certification.manifest | 1 + .../data/scripts/fallback_maintenance_info_sections.gdb | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 Ghidra/Debug/Debugger-agent-gdb/data/scripts/fallback_maintenance_info_sections.gdb diff --git a/Ghidra/Debug/Debugger-agent-gdb/certification.manifest b/Ghidra/Debug/Debugger-agent-gdb/certification.manifest index 4e32539fa4..aaa7ad0026 100644 --- a/Ghidra/Debug/Debugger-agent-gdb/certification.manifest +++ b/Ghidra/Debug/Debugger-agent-gdb/certification.manifest @@ -2,5 +2,6 @@ ##MODULE IP: JSch License Module.manifest||GHIDRA||||END| data/scripts/fallback_info_proc_mappings.gdb||GHIDRA||||END| +data/scripts/fallback_maintenance_info_sections.gdb||GHIDRA||||END| data/scripts/getpid-linux-i386.gdb||GHIDRA||||END| data/scripts/wine32_info_proc_mappings.gdb||GHIDRA||||END| diff --git a/Ghidra/Debug/Debugger-agent-gdb/data/scripts/fallback_maintenance_info_sections.gdb b/Ghidra/Debug/Debugger-agent-gdb/data/scripts/fallback_maintenance_info_sections.gdb new file mode 100644 index 0000000000..8398a8b023 --- /dev/null +++ b/Ghidra/Debug/Debugger-agent-gdb/data/scripts/fallback_maintenance_info_sections.gdb @@ -0,0 +1,4 @@ +define maintenance info sections +echo Exec file: `name_of_executable', file type elf64-x86-64. \n +echo [0] 0x0->0xFFFFFFFFFFFFFFFF at 0x00000000: .text ALLOC LOAD READWRITE CODE HAS_CONTENTS +end