aboutsummaryrefslogtreecommitdiffstats
path: root/tools/check-syzos.sh
Commit message (Collapse)AuthorAgeFilesLines
* tools/check-syzos.sh: allow RIP-relative references to .guestAlexander Potapenko2025-10-171-3/+47
| | | | | | When loading guest code at another address, RIP-relative references to the same section should not be a problem. Modify check-syzos.sh to allow that.
* tools: add check-syzos.shAlexander Potapenko2025-09-111-0/+122
As shown in https://github.com/google/syzkaller/issues/5565, SYZOS code in the `guest` section cannot reference global data, because it is relocated into the guest memory. While arm64 executor has a dynamic check for data accesses, it is virtually impossible to do the same on x86 without implementing an x86 disassembler. Instead of doing so, introduce a build-time script that will detect instructions referencing global data on a best-effort basis.