aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-testbed/html.go
Commit message (Collapse)AuthorAgeFilesLines
* all: use any instead of interface{}Dmitry Vyukov2025-12-221-1/+1
| | | | Any is the preferred over interface{} now in Go.
* all: fix recvcheck errorsTaras Madan2025-02-071-11/+11
|
* tools/syz-testbed: allow to view unaligned recordsDmitry Vyukov2024-06-031-3/+0
| | | | | This is useful if instances run for different amount of time. It's hard to make any sense out of aligned records in that case.
* all: use special placeholder for errorsTaras Madan2023-07-241-2/+2
|
* all: ioutil is deprecated in go1.19 (#3718)Taras Madan2023-02-231-3/+2
|
* pkg/html: move some functions to sub-packageDmitry Vyukov2022-05-231-2/+2
| | | | | Move functions that need embed assets to a separate package. In preparation for the next change.
* tools/syz-testbed: support experiments with syz-reproAleksandr Nogikh2022-02-251-3/+11
| | | | | | | Add a "syz-repro" target and 3 tables: - List of all performed (and ongoing) reproductions. - Comparison of repro rate for different bugs on different checkouts. - Comparison of the share of C reproducers.
* tools/syz-testbed: support multiple targetsAleksandr Nogikh2022-02-251-1/+7
| | | | | | | | | | | | | | | Refactor the code of syz-testbed to enable support of different targets. This required the following changes: - Instead of doing mass start and mass restart of instances, let them be more independent. - Support different types of instances, which may have different expectations of the target behavior. E.g. syz-manager normally never exits, while syz-repro is expected to exit after a certain time. - Factor out stats management, as stat entries may be different for different targets. - Introduce locking to TestbedCtx and Checkout, as slices there can be modified at arbitrary times.
* tools/syz-testbed: store html templates in filesAleksandr Nogikh2022-02-251-151/+7
|
* tools/syz-testbed: add table footersAleksandr Nogikh2022-02-251-6/+19
|
* tools/syz-testbed: refactor uiTableTypeAleksandr Nogikh2022-02-251-36/+50
| | | | Make it easier to do uiTableType filtering later.
* tools/syz-testbed: add a bug count tableAleksandr Nogikh2021-12-061-2/+13
| | | | | This table does not just collect YES/NO, but also shows the number of test runs in which syz-manager has discovered the given bug.
* tools/syz-testbed: add switching between tables to the web interfaceAleksandr Nogikh2021-12-061-47/+96
| | | | | | | | | Formalise HTML table management - introduce the map, which lists the available stat tables and their generators. Render only one page at a time and let the user switch them. Implement the generation of the bug table.
* tools/syz-testbed: respond 404 to favicon requestsAleksandr Nogikh2021-12-061-0/+5
| | | | | | Otherwise the page is requested two times by Chrome. See https://bugs.chromium.org/p/chromium/issues/detail?id=39402
* tools/syz-testbed: align table per particular rowsAleksandr Nogikh2021-12-061-3/+34
| | | | | | | | | | It turns out that we often want to see the data aligned on some specific property - e.g. align all checkouts by "exec total" and see how other parameters differ. Add a preliminary support of such a feature. On a row title click, pick the minimal value in the row and wind the history of each column back until the target row value is closest to the minimal one.
* tools/syz-testbed: show diffs and p-valuesAleksandr Nogikh2021-12-061-20/+90
| | | | | | | | | | Enable the user to specify the pivot column for the stats table. If such a column is set, calculate and print the relative difference between checkouts and p-values for the estimation of statistical significance of the experimental data. For the p-value calculation use the existing implementation from the go-benchstat tool.
* tools/syz-testbed: show one stat view at a timeAleksandr Nogikh2021-12-061-40/+94
| | | | | In the HTML form, show only one stat view at a time. Let user switch between the views.
* tools/syz-testbed: introduce a special type for tableAleksandr Nogikh2021-12-061-12/+12
| | | | | This simplifies table generation and will let us more easily implement relative difference and p-value calculation and printing.
* tools/syz-testbed: add a simple web interfaceAleksandr Nogikh2021-11-121-0/+193
For now, just display the avg stats and generate graphs on demand.