| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | pkg/ifuzz: fix generate/build | Dmitry Vyukov | 2025-04-03 | 1 | -1/+1 |
| | | | | | | | | Currently the commands we have in go:generate first create an empty file and then write final contents. This breaks any parallel builds of the source. Even running go generate ./... does not work. Write output files atomically. | ||||
| * | Makefile: simplify Go generation | Dmitry Vyukov | 2025-04-02 | 2 | -7/+11 |
| | | | | | | | Make fidlgen non special and run go generate for all packages. This will avoid stale go:generate commands, and missed packages (like we had for pkg/ifuzz/{x86,arm64} for years). | ||||
| * | sys/syz-sysgen: serialize descriptions as gob and embed | Dmitry Vyukov | 2025-01-23 | 1 | -6/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of generating Go files with descriptions serialize them as gob and compress with flate. This significantly reduces build time, go vet time, and solves scalability problems with some static analysis tools. Reference times (all after rm -rf ~/.cache/go-build) before: TIME="%e %P %M" time go install ./syz-manager 48.29 577% 4824820 TIME="%e %P %M" time go test -c ./prog 56.28 380% 6973292 After: TIME="%e %P %M" time go install ./syz-manager 22.81 865% 859788 TIME="%e %P %M" time go test -c ./prog 12.74 565% 267760 syz-manager size before/after: 194712597 -> 83418407 -57% even provided we now embed all descriptions instead of just a single arch. Deflate/decoding time for a single Linux arch is ~330ms. Fixes #5542 | ||||
| * | pkg/host: explicitly disable syz_execute_func | Dmitry Vyukov | 2024-04-29 | 1 | -1/+1 |
| | | | | | | | | | | Disable the syscall in descriptions rather than in the code. This makes it more visible for users that it's disabled, and makes it less special (will not need to move this logic to host). Also change the condition in syz-sysgen to be more precise, otherwise syz_execute_func becomes unused function. | ||||
| * | sys/fuchsia: add test for stream syscall definitions | Laura Peskin | 2022-11-23 | 4 | -11/+66 |
| | | | | | | | | | Also added a `zx_offset` resource type to stream.txt, since the syscall interface uses a distinguished type for offsets here; used `intptr` for sizes and `flags` for options; updated const lists and definitions; corrected in/out direction for a few pointers. | ||||
| * | sys/fuchsia: add test for socket syscall descriptions | Laura Peskin | 2022-11-23 | 4 | -7/+44 |
| | | | | | | | Also updated the constant files and added 0x0 as a valid option for `zx_socket_read` (to consume buffered data, as opposed to 0x8 = ZX_SOCKET_PEEK) | ||||
| * | sys/fuchsia: add test for handle syscall descriptions | Laura Peskin | 2022-11-23 | 1 | -0/+48 |
| | | |||||
| * | sys/fuchsia: add test for vmar syscall descriptions | Laura Peskin | 2022-11-17 | 2 | -5/+63 |
| | | | | | | | | | | | | Also made some small updates to the vmar descriptions: - In a few places, a `len` arg was incorrectly tagged as the length of another arg when it actually represents a region size; fixed. - The `buffer` and `buffer_size` args to `zx_vmar_op_range` must be null; replaced with constants. - Added a `zx_vaddr` resource type wrapping `intptr` and used it in place of `vma`, since it's not clear how to use `vma` as the pointee type of an outptr in a program. | ||||
| * | sys/fuchsia: add test for job syscalls | Laura Peskin | 2022-11-15 | 2 | -2/+48 |
| | | | | | | | | This change also makes a couple of small updates to job.txt: - Express the documented limit of 1 policy struct when using the TIMER_SLACK option to set policy - Include padding in policy struct definition | ||||
| * | sys/fuchsia: fix date in vmar copyright header | Laura Peskin | 2022-11-08 | 1 | -1/+1 |
| | | |||||
| * | sys/fuchsia: update vmar syscall definitions | Laura Peskin | 2022-11-07 | 3 | -28/+93 |
| | | |||||
| * | sys/fuchsia: rename vmars.txt -> vmar.txt | Laura Peskin | 2022-11-07 | 3 | -0/+0 |
| | | |||||
| * | sys/fuchsia: rename timers.txt -> timer.txt | Laura Peskin | 2022-11-07 | 3 | -0/+2 |
| | | |||||
| * | sys/fuchsia: move and update cprng syscall definitions | Laura Peskin | 2022-11-07 | 4 | -3/+14 |
| | | |||||
| * | sys/fuchsia: update guest syscalls definitions | Ange Albertini | 2022-11-03 | 5 | -5/+25 |
| | | |||||
| * | sys/fuchsia: updated interrupt syscalls definitions | Ange Albertini | 2022-11-03 | 3 | -3/+26 |
| | | |||||
| * | sys/fuchsia: updated iommu syscall definition | Ange Albertini | 2022-11-03 | 1 | -1/+1 |
| | | |||||
| * | sys/fuchsia: add definitions for pager syscalls | Laura Peskin | 2022-11-03 | 3 | -0/+31 |
| | | |||||
| * | sys/fuchsia: update system syscall definitions | Laura Peskin | 2022-11-03 | 4 | -9/+96 |
| | | | | | | | | | | - `zx_system_get_version` is deprecated in favor of `zx_system_get_version_string`. - ARM-only feature options are replaced with cross- arch options. - All syscalls from `system.fidl` are now defined in `system.txt`. | ||||
| * | sys/fuchsia: updated object syscalls definitions | Ange Albertini | 2022-11-02 | 3 | -30/+54 |
| | | |||||
| * | sys/fuchsia: move zx_rights definition and add compound rights consts | Laura Peskin | 2022-11-02 | 4 | -4/+68 |
| | | |||||
| * | sys/fuchsia: fixed copyright header | Ange Albertini | 2022-11-01 | 1 | -1/+1 |
| | | |||||
| * | sys/fuchsia: updated cache syscalls definitions | Ange Albertini | 2022-11-01 | 4 | -9/+11 |
| | | |||||
| * | sys/fuchsia: minor debuglog update | Ange Albertini | 2022-10-31 | 1 | -4/+2 |
| | | |||||
| * | sys/fuchsia: updated misc syscalls definitions | Ange Albertini | 2022-10-31 | 1 | -1/+2 |
| | | |||||
| * | sys/fuchsia: updated fifo syzkaller definitions | Ange Albertini | 2022-10-31 | 1 | -1/+1 |
| | | |||||
| * | sys/fuchsia: updated job syscalls definitions | Ange Albertini | 2022-10-31 | 5 | -42/+93 |
| | | |||||
| * | sys/fuchsia: updated msi syscalls definitions | Ange Albertini | 2022-10-31 | 1 | -3/+2 |
| | | |||||
| * | sys/fuchsia: define the framebuffer system calls (#3472) | Chris Palmer | 2022-10-26 | 1 | -0/+8 |
| | | | | Co-authored-by: Chris Palmer <palmer@google.com> | ||||
| * | sys/fuchsia: updated channel syscall definitions | Ange Albertini | 2022-10-25 | 4 | -26/+56 |
| | | |||||
| * | sys/fuchsia: added exception syscalls definitions (#3449) | Ange Albertini | 2022-10-21 | 2 | -1/+12 |
| | | | | | | | | | | * sys/fuchsia: removed obsolete comment * sys/fuchsia: added exception syscalls definitions * sys/fuchsia: disabled exception types * sys/fuchsia: refined exception handle types | ||||
| * | sys/fuchsia: reland bti, iommu, pmt syscalls | Chris Palmer | 2022-10-17 | 3 | -0/+39 |
| | | |||||
| * | sys/fuchsia: fix object typo (#3447) | Ange Albertini | 2022-10-17 | 1 | -1/+1 |
| | | |||||
| * | sys/fuchsia: rename objects to object (#3445) | Chris Palmer | 2022-10-17 | 3 | -0/+2 |
| | | | | Co-authored-by: Chris Palmer <palmer@google.com> | ||||
| * | sys/fuchsia: update objects syscalls | Ange Albertini | 2022-10-14 | 3 | -3/+97 |
| | | |||||
| * | sys/fuchsia: update objects and profile syscall definitions | Ange Albertini | 2022-10-13 | 2 | -3/+5 |
| | | |||||
| * | sys/fuchsia: update the job syscall definitions | Chris Palmer | 2022-10-12 | 1 | -0/+5 |
| | | |||||
| * | sys/fuchsia: fixed profile syscalls definitions | Ange Albertini | 2022-10-11 | 1 | -5/+6 |
| | | |||||
| * | sys/fuchsia: add the profile syscalls definitions | Ange Albertini | 2022-10-11 | 1 | -0/+16 |
| | | |||||
| * | sys/fuchsia: update the port system calls (#3348) | Marco Vanotti | 2022-08-31 | 6 | -20/+72 |
| | | | | | | Also adds a test for zx_port_* Co-authored-by: Aaron Green <aarongreen@google.com> | ||||
| * | sys/fuchsia: update event and eventpair system calls (#3320) | Chris Palmer | 2022-08-29 | 4 | -2/+17 |
| | | | | | | events.txt is split between event.txt and eventpair.txt Co-authored-by: Aaron Green <aarongreen@google.com> | ||||
| * | sys/fuchsia: update the socket system calls (#3288) | Ange Albertini | 2022-08-29 | 1 | -4/+4 |
| | | |||||
| * | sys/fuchsia: add the pc syscalls definitions (#3299) | Ange Albertini | 2022-08-29 | 1 | -0/+10 |
| | | |||||
| * | sys/fuchsia: add the restricted syscalls definitions (#3300) | Ange Albertini | 2022-08-29 | 1 | -0/+7 |
| | | |||||
| * | sys/fuchsia: add the debug syscalls definitions (#3301) | Ange Albertini | 2022-08-29 | 1 | -0/+10 |
| | | | | | | * sys/fuchsia: add the debug syscalls definitions * sys/fuchsia: update debug.txt | ||||
| * | sys/fuchsia: add the debuglog syscalls definitions (#3302) | Ange Albertini | 2022-08-29 | 2 | -14/+16 |
| | | | | | | | | | | * sys/fuchsia: add the debuglog syscalls definitions * sys/fuchsia: correct data and length declarations * sys/fuchsia: update the debuglog definitions * sys/fuchsia: remove log.txt | ||||
| * | all: revert "sys/fuchsia: update system calls for bti, cache, iommu, pmt, ↵ | Aleksandr Nogikh | 2022-08-23 | 7 | -71/+17 |
| | | | | | | | | | | | | and process (#3321)" This has broken our CI tests: fatal error: 'lib/ddk/driver.h' file not found That's indeed an error and it needs to be fixed, but for now it just stops syzkaller development. | ||||
| * | sys/fuchsia: update system calls for bti, cache, iommu, pmt, and process (#3321) | Nick Cano | 2022-08-18 | 7 | -17/+71 |
| | | | | Co-authored-by: Nick Cano <nickcano@google.com> | ||||
| * | sys/fuchsia: fix for clock system calls (#3322) | Dzmitry | 2022-08-17 | 1 | -1/+2 |
| | | |||||
| * | sys/fuchsia: update vcpu system calls (#3307) | Marina Ciocea | 2022-08-17 | 1 | -0/+14 |
| | | | | Co-authored-by: Marina Ciocea <marinaciocea@google.com> | ||||
