summaryrefslogtreecommitdiffstats
path: root/test_code/analyse_hello.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test_code/analyse_hello.sh')
-rwxr-xr-xtest_code/analyse_hello.sh13
1 files changed, 13 insertions, 0 deletions
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