Add hopper make target
hopper is useful for inspecting kernel disassembly.
This commit is contained in:
parent
dd2938fa2f
commit
44037398d4
5
Justfile
5
Justfile
|
@ -17,3 +17,8 @@ clippy:
|
|||
|
||||
test:
|
||||
cargo make test
|
||||
|
||||
alias disasm := hopper
|
||||
|
||||
hopper:
|
||||
cargo make hopper
|
||||
|
|
|
@ -70,3 +70,11 @@ args = ["unmount", "/Volumes/BOOT/"]
|
|||
[tasks.clippy]
|
||||
command = "cargo"
|
||||
args = ["clippy", "${BUILD_STD}", "--target=${TARGET_JSON}", "--", "-D", "warnings"]
|
||||
|
||||
[tasks.hopper]
|
||||
dependencies = ["build", "kernel-binary"]
|
||||
# The cmd line below causes a bug in hopper, see https://www.dropbox.com/s/zyw5mfx0bepcjb1/hopperv4-RAW-bug.mov?dl=0
|
||||
#"hopperv4 --loader RAW --base-address 0x80000 --entrypoint 0x80000 --file-offset 0 --plugin arm --cpu aarch64 --variant generic --contains-code true --executable ${KERNEL_BIN}"
|
||||
script = [
|
||||
"hopperv4 --loader ELF --executable ${KERNEL_ELF}"
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue