From 793b4d7bfb4c24aaec271c967dcc125e55482360 Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 4 Sep 2023 18:31:18 +0200 Subject: [PATCH] update readme for embedded debugging --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eff8e12..313f278 100644 --- a/README.md +++ b/README.md @@ -221,14 +221,14 @@ plugin. It allows overriding some fields such as the PID and memory mappings. ``` [INIT] -context = { - "pid": 200, - "mappings": [ [0x400000, 0x7A81158, 0x7681158, "asav941-200.qcow2|lina"] ] - } +context = { "pid": 200, "mappings": [ [0x400000, 0x7A81158, 0x7681158, "asav941-200.qcow2|lina"] ] } ``` Each entry in the mappings is: ``mem_base``, ``mem_end``, ``mem_size``, ``mem_name``. +If doing this with ghidra: +- Make sure the context entry is a single line, or you will get parsing errors in the ghidra output window! +- Make sure the mem_name matches the name of the module (name next to folder icon in program tree window) exactly! ## Bypassing automatic address rebasing