aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux/setup_linux-host_android-device_arm-kernel.md
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-08-14 09:42:39 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-08-14 14:04:41 +0200
commitbdf3cf726780d1cfcaf3f5ebd08572d2948b565b (patch)
treecf1e5d02001a7290c182f5001b5588959a3dd163 /docs/linux/setup_linux-host_android-device_arm-kernel.md
parent872ebc286c4aa445b597066672a6082a9e724b0d (diff)
executor: fix use of SYZ_SANDBOX_ANDROID define
"#if not" does not seem to be a thing in C: $ cpp -undef -fdirectives-only -dDI -E -P -DSYZ_REPEAT -DSYZ_USE_TMP_DIR executor/common_linux.h 1>/dev/null executor/common_linux.h:3776:9: error: missing binary operator before token "SYZ_SANDBOX_ANDROID" 3776 | #if not SYZ_SANDBOX_ANDROID | ^~~~~~~~~~~~~~~~~~~ executor/common_linux.h:3801:9: error: missing binary operator before token "SYZ_SANDBOX_ANDROID" 3801 | #if not SYZ_SANDBOX_ANDROID | ^~~~~~~~~~~~~~~~~~~ executor/common_linux.h:3837:9: error: missing binary operator before token "SYZ_SANDBOX_ANDROID" 3837 | #if not SYZ_SANDBOX_ANDROID | ^~~~~~~~~~~~~~~~~~~ executor/common_linux.h:3868:9: error: missing binary operator before token "SYZ_SANDBOX_ANDROID" 3868 | #if not SYZ_SANDBOX_ANDROID | ^~~~~~~~~~~~~~~~~~~ Currently parts under "#if not SYZ_SANDBOX_ANDROID" are always stripped from reproducers under all sandboxes. Use the standard !SYZ_SANDBOX_ANDROID. We also need SYZ_EXECUTOR part because sandbox is not statically known when we are building syz-executor. And we also need to remove the use of flag_sandbox_android for C reproducers because for these sandbox is statically known and we don't have flag_sandbox_*.
Diffstat (limited to 'docs/linux/setup_linux-host_android-device_arm-kernel.md')
0 files changed, 0 insertions, 0 deletions