Browse Source

Update Typo and README

master
ben 2 years ago
parent
commit
8f3dca1258
  1. 10
      README.md
  2. 2
      qemu_cover.py

10
README.md

@ -11,7 +11,7 @@ Scripts from this collection will appear in the "Hackade scripts" category.
### Qemu cover script
qemu_cover.py is code coverage plugin that visualize Qemu logged instructions.
[qemu_cover.py](https://git.hackade.org/ghidra-scripts.git/tree/qemu_cover.py) is code coverage plugin that visualize Qemu logged instructions.
#### How to use
@ -21,4 +21,10 @@ First you need to generate a trace file from qemu executation.
qemu-arm -d in_asm -D file.trace -L ~/arm_versatile/buildroot/output/target/ ./binary
```
The execute qemu_cover.py script, select the generated trace file (file.trace in the exemple) and choose a color.
Then execute qemu_cover.py script, select the generated trace file (file.trace in the exemple) and choose a color.
#### Demo
<div>
<video controls src="https://ghidra.hackade.org/qemu_cover.webm">Demo</video>
</div>

2
qemu_cover.py

@ -25,7 +25,7 @@ for block in blocks:
# Select the trace file
try:
trace_file = askFile("FILE", "Choose a file:")
trace_file = askFile("FILE", "Choose a file")
except IllegalArgumentException as error:
Msg.warn(self, "Error during headless processing: " + error.toString())

Loading…
Cancel
Save