aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Fuzz/WebServer.zig
AgeCommit message (Collapse)Author
2025-02-06adjust runtime page size APIsAndrew Kelley
* fix merge conflicts * rename the declarations * reword documentation * extract FixedBufferAllocator to separate file * take advantage of locals * remove the assertion about max alignment in Allocator API, leaving it Allocator implementation defined * fix non-inline function call in start logic The GeneralPurposeAllocator implementation is totally broken because it uses global state but I didn't address that in this commit.
2025-02-06runtime page size detectionArchbirdplus
heap.zig: define new default page sizes heap.zig: add min/max_page_size and their options lib/std/c: add miscellaneous declarations heap.zig: add pageSize() and its options switch to new page sizes, especially in GPA/stdlib mem.zig: remove page_size
2024-09-12Replace deprecated default initializations with decl literalsLinus Groh
2024-09-11add runs per second to fuzzing uiAndrew Kelley
closes #21025
2024-09-11make lowest stack an internal libfuzzer detailAndrew Kelley
This value is useful to help determine run uniqueness in the face of recursion, however it is not valuable to expose to the fuzzing UI.
2024-09-11fuzzer: move web files into separate directoryAndrew Kelley
2024-08-28fuzzing: fix entry address logicAndrew Kelley
* the pcs list is unsorted * use the function address Fixes entry points in ReleaseSafe mode.
2024-08-23fix autodocs regression FTBFSAndrew Kelley
regressed in dffc8c44f9a01aa05ea364ffdc71509d15bc2601 since there is no test coverage for the `zig std` command yet. closes #21180
2024-08-19fix various issues related to Path handling in the compiler and stdRobin Voetter
A compilation build step for which the binary is not required could not be compiled previously. There were 2 issues that caused this: - The compiler communicated only the results of the emitted binary and did not properly communicate the result if the binary was not emitted. This is fixed by communicating the final hash of the artifact path (the hash of the corresponding /o/<hash> directory) and communicating this instead of the entire path. This changes the zig build --listen protocol to communicate hashes instead of paths, and emit_bin_path is accordingly renamed to emit_digest. - There was an error related to the default llvm object path when CacheUse.Whole was selected. I'm not really sure why this didn't manifest when the binary is also emitted. This was fixed by improving the path handling related to flush() and emitLlvmObject(). In general, this commit also improves some of the path handling throughout the compiler and standard library.
2024-08-15std.tar: add writer (#19603)Igor Anić
Simplifies code in docs creation where we used `std.tar.output.Header`. Writer uses that Header internally and provides higher level interface. Updates checksum on write, handles long file names, allows setting mtime and file permission mode. Provides handy interface for passing `Dir.WalkerEntry`.
2024-08-13std.Build.Fuzz.WebServer: sort pcs before source location lookupAndrew Kelley
Unfortunately, the PCs do not get sorted during linking.
2024-08-13avoid a branch in resolveAddressesDwarfAndrew Kelley
2024-08-08more optimized and correct management of 8-bit PC countersAndrew Kelley
* Upgrade from u8 to usize element types. - WebAssembly assumes u64. It should probably try to be target-aware instead. * Move the covered PC bits to after the header so it goes on the same page with the other rapidly changing memory (the header stats). depends on the semantics of accepted proposal #19755 closes #20994
2024-08-08fuzzing: comptime assertions to protect the ABIAndrew Kelley
compile errors are nice
2024-08-07build runner: output hint when no --port providedAndrew Kelley
2024-08-07update branch for latest std.sort changesAndrew Kelley
2024-08-07fuzzer web ui: resolve cwd in sources.tarAndrew Kelley
because the wasm code needs to string match against debug information
2024-08-07fuzzer web ui: introduce entry pointsAndrew Kelley
so you can have somewhere to start browsing
2024-08-07fuzzer web UI: receive coverage informationAndrew Kelley
* libfuzzer: track unique runs instead of deduplicated runs - easier for consumers to notice when to recheck the covered bits. * move common definitions to `std.Build.Fuzz.abi`. build runner sends all the information needed to fuzzer web interface client needed in order to display inline coverage information along with source code.