Skip to content

Conversation

@ramosian-glider
Copy link
Member


Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md


@ramosian-glider
Copy link
Member Author

PTAL

Detect and report ADRP instructions in the linked binaries to avoid
crashes inside SyzOS.

See google#5565 for more context.
Apply __attribute__((noinline)) to SyzOS API command handlers to prevent
overly optimizing them.
While at it, rearrange specifiers in guest function declarations
Prevent the compiler from generating a jump table by replacing a switch
with a series of if statements.
This is ugly, but lets us work around crashes caused by google#5565
This is needed to be able to run alien binaries in tests under qemu-user
dvyukov
dvyukov previously approved these changes Dec 5, 2024
Glob() doesn't work on 32-bit ARM when run on a 64-bit system under QEMU:
https://gitlab.com/qemu-project/qemu/-/issues/263

Not sure whether this is specific to tests running under qemu-user, or
the ARM32 executor in the wild as well.
Previously, cross-platform invocations of `syz-executor test` were ignored
in the case of a SYZFAIL, and the test was still marked as PASS.

Explicitly report a test failure instead.
Make sure regressions in guest code validation are reported during testing
rather than fuzzing.
@ramosian-glider ramosian-glider added this pull request to the merge queue Dec 5, 2024
Merged via the queue into google:master with commit 31e8394 Dec 5, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants