38.10.1.1. disas
Since disassembly of a single function of a LKMC executable with GDB is such a common use case for run-toolchain via https://stackoverflow.com/questions/22769246/how-to-disassemble-one-single-function-using-objdump, we have this shortcut for it.
For example to disassemle a function from an userland binary:
./disas --arch aarch64 --userland userland/c/hello.c main
or to disassemble a function from the Linux kernel:
./disas --arch aarch64 start_kernel
and a baremetal executable:
./disas --arch aarch64 --baremetal baremetal/arch/aarch64/no_bootloader/exit.S _start