summaryrefslogtreecommitdiffstats
path: root/test_code
diff options
context:
space:
mode:
authorRegia König2022-08-17 10:49:27 +0200
committerRegia König2022-08-17 10:49:27 +0200
commitbc78d650cfe0b759a48afba17686671ac67c9387 (patch)
tree5268a20f5a4a716a25ae0450fcb0d6635f1ac64d /test_code
parentEfi file outputs own image base (diff)
downloadmemtest86-bc78d650cfe0b759a48afba17686671ac67c9387.tar.gz
memtest86-bc78d650cfe0b759a48afba17686671ac67c9387.tar.xz
memtest86-bc78d650cfe0b759a48afba17686671ac67c9387.zip
Expand analyzation script
Diffstat (limited to 'test_code')
-rw-r--r--test_code/OVMF_VARS.fdbin540672 -> 540672 bytes
-rwxr-xr-xtest_code/analyse_hello.sh13
2 files changed, 13 insertions, 0 deletions
diff --git a/test_code/OVMF_VARS.fd b/test_code/OVMF_VARS.fd
index 852d584..d1888bc 100644
--- a/test_code/OVMF_VARS.fd
+++ b/test_code/OVMF_VARS.fd
Binary files differ
diff --git a/test_code/analyse_hello.sh b/test_code/analyse_hello.sh
new file mode 100755
index 0000000..2e9187f
--- /dev/null
+++ b/test_code/analyse_hello.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+echo "#### \$objdump -h hello.efi"
+objdump -h hda-contents/hello.efi
+
+echo "########################################################################"
+echo "#### \$peinfo hello.efi | grep text -A 5"
+./peinfo hda-contents/hello.efi | grep text -A 5
+
+
+echo "########################################################################"
+echo "#### \$cat debug.log | grep hello -A 5"
+cat debug.log | grep hello -A 5