# fuzzing: progress towards web UI · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/517cfb0dd1e2b5b8efc8e90ce4e5593a38fa158c)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 517cfb0dd1e2b5b8efc8e90ce4e5593a38fa158c

Requested commit: 517cfb0dd1e2b5b8efc8e90ce4e5593a38fa158c

Commit: 517cfb0dd1e2b5b8efc8e90ce4e5593a38fa158c

Tree: b630ec6fa767f2aaf6932472a8acb85ac5089cf5

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fuzzing: progress towards web UI

* libfuzzer: close file after mmap
* fuzzer/main.js: connect with EventSource and debug dump the messages.
  currently this prints how many fuzzer runs have been attempted to
  console.log.
* extract some `std.debug.Info` logic into `std.debug.Coverage`.
  Prepares for consolidation across multiple different executables which
  share source files, and makes it possible to send all the
  PC/SourceLocation mapping data with 4 memcpy'd arrays.
* std.Build.Fuzz:
  - spawn a thread to watch the message queue and signal event
    subscribers.
  - track coverage map data
  - respond to /events URL with EventSource messages on a timer

```

## Parents

- [5f92a036f9a9a137e4276d0f605e4cb940eca3a7](https://git.cafe/gitcafe/zig/commit/5f92a036f9a9a137e4276d0f605e4cb940eca3a7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/517cfb0dd1e2b5b8efc8e90ce4e5593a38fa158c?format=markdown)
