docs:update syscall_descriptions.md

Add detailed instructions to run syz-extract
This commit is contained in:
Shiyu Sun 2019-11-21 18:46:22 +11:00 committed by Dmitry Vyukov
parent 0199dc9d8c
commit 598ca6c8b8

View File

@ -142,6 +142,8 @@ make
`$ARCH` is one of `amd64`, `386` `arm64`, `arm`, `ppc64le`.
If the subsystem is supported on several architectures, then run `syz-extract` for each arch.
`$LINUX` should point to kernel source checkout, which is configured for the
corresponding arch (i.e. you need to run `make ARCH=arch someconfig && make ARCH=arch` there first).
If the kernel was built into a separate directory (with `make O=...`) then also
set `$LINUXBLD` to the location of the build directory.
corresponding arch (i.e. you need to run `make ARCH=arch someconfig && make ARCH=arch` there first,
remember to add `CROSS_COMPILE=arm-linux-gnueabi-/aarch64-linux-gnu-/powerpc64le-linux-gnu-` if needed).
If the kernel was built into a separate directory (with `make O=output_dir`, remember to put .config
into output_dir, this will be helpful if you'd like to work on different arch at the same time)
then also set `$LINUXBLD` to the location of the build directory.