aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/cover
Commit message (Collapse)AuthorAgeFilesLines
...
* pkg/cover: fix links generation, add commitTaras Madan2024-11-201-0/+1
|
* dashboard/app: move coverage page js code to static fileTaras Madan2024-11-081-17/+5
| | | | | Chrome devtools allow to edit js code directly in browser. This change will speed up further development.
* pkg/cover: heatmap starts to use jqueryTaras Madan2024-11-081-34/+13
| | | | Bonus - remove html template we don't need anymore.
* all: fix HTML file formattingDmitry Vyukov2024-11-071-62/+62
| | | | Fix inconsistent HTML file formatting with both tabs and spaces.
* tools/syz-cover: remove heatmap toolTaras Madan2024-11-071-27/+0
| | | | I don't see any plans to use it.
* dashboard/app: read lines coverage from spannerTaras Madan2024-11-071-13/+17
| | | | | | We currently merge bigquery data for every line coverage request. Let's read cached lines coverage data from spanner instead. It allows to get only 1 file version from git and skip the data merge step.
* lint: fix lint issuesSabyrzhan Tasbolatov2024-10-281-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix linter reported issue with "err != nil" is always true and add "this check suggests that the pointer can be nil" to the exclusion rules as the false-positives due to non-standard/standard package's Fatalf() exiting. ``` $ make lint bin/golangci-lint run ./... pkg/cover/backend/dwarf.go:180:8: SA4023: this comparison is always true if err != nil { ^ sys/fuchsia/fidlgen/main.go:24:5: SA5011(related information): this check suggests that the pointer can be nil if target == nil { tools/syz-declextract/run.go:95:6: SA5011(related information): this check suggests that the pointer can be nil if parse == nil { ^ tools/syz-declextract/run.go:234:5: SA5011(related information): this check suggests that the pointer can be nil if netlinkUnionParsed == nil { ^ prog/encodingexec_test.go:60:6: SA5011(related information): this check suggests that the pointer can be nil if c == nil { ^ sys/fuchsia/fidlgen/main.go:24:5: SA5011(related information): this check suggests that the pointer can be nil if target == nil { ^ pkg/compiler/compiler_test.go:339:5: SA5011(related information): this check suggests that the pointer can be nil if p == nil { ^ pkg/compiler/compiler_test.go:379:5: SA5011(related information): this check suggests that the pointer can be nil if p == nil { ^ pkg/ast/parser_test.go:32:7: SA5011(related information): this check suggests that the pointer can be nil if desc == nil { ^ pkg/ast/parser_test.go:37:7: SA5011(related information): this check suggests that the pointer can be nil if desc2 == nil { ^ pkg/report/report_test.go:308:5: SA5011(related information): this check suggests that the pointer can be nil if rep == nil { ^ pkg/bisect/bisect_test.go:205:5: SA5011(related information): this check suggests that the pointer can be nil if sc == nil { ^ make: *** [Makefile:293: lint] Error 1 ```
* pkg/cover: show the file source informationTaras Madan2024-10-031-4/+17
|
* pkg/cover: compact columnsTaras Madan2024-10-021-5/+13
|
* pkg/cover: keep all 3 div blocks in one lineTaras Madan2024-10-021-32/+34
|
* pkg/cover: show content for 2 last clicked filesTaras Madan2024-10-021-2/+5
|
* pkg/cover: render file linksTaras Madan2024-10-023-8/+25
|
* pkg/cover: specify target commit requesting the line coverageTaras Madan2024-10-022-21/+39
|
* pkg/cover: embed correct period type into line coverage urlTaras Madan2024-10-021-1/+1
|
* pkg/cover: add FileCoverageLink to templateHeatmapRowTaras Madan2024-10-022-5/+38
|
* pkg/cover: use timePeriods instead of civil.DateTaras Madan2024-10-023-40/+41
|
* dashboard/app: add file coverage pageTaras Madan2024-09-161-6/+25
| | | | | | | | | | | | | | It directly uses the coverage signals from BigQuery. There is no need to wait for the coverage_batch cron jobs. Looks good for debugging. Limitations: 1. It is slow. I know how to speed up but want to stabilize the UI first. 2. It is expensive because of the direct BQ requests. Limited to admin only because of it. 3. It merges only the commits reachable on github because of the gitweb throttling. After the UI stabilization I'll save all the required artifacts to spanner and make this page publicly available. To merge all the commits, not the github reachable only, http git caching instance is needed.
* pkg/cover: assume no coverage existsTaras Madan2024-09-111-0/+6
| | | | | If no coverage for file is available, we panic(nil deref). New code doesn't panic.
* dashboard/app: use day long aggregations not week longTaras Madan2024-09-091-29/+31
| | | | | | | | | Current coverage is a week long data merge for every day. The goal is to show a monthly data by default and make daily data available for &period=day requests. This commit makes the first two steps: 1. Make the day a day long, not a week long aggregation. 2. Enable the month long merges available for &period=month.
* all: rename html functions to meaningful onesJoey Jiao2024-09-052-6/+6
|
* pkg/cover: log length of units... to help debug elf parsingJoey Jiao2024-09-031-0/+2
|
* pkg/cover: fix loopvar bug in go func inside loopJoey Jiao2024-09-031-2/+4
|
* pkg/covermerger: we don't need branch infoTaras Madan2024-08-291-1/+1
| | | | | | | The first versions of this code used branches for git checkout. Later the git repos were merged and branch info usage was reduced. The latest changes switched the code from branch checkout to commit checkout. There is no need in branch info anymore and I don't see any use-cases for it.
* pkg/spanner/coveragedb: move package to pkg/coveragedbTaras Madan2024-08-291-1/+1
|
* pkg/covermerger: add tooltips to every coverage numberTaras Madan2024-08-273-3/+48
| | | | | | | Hover mouse onto the percent value to see details. To test: $ go run ./tools/syz-cover -heatmap upstream -from 2024-08-23 -to 2024-08-23 $ google-chrome upstream.html
* pkg/cover: fix layoutTaras Madan2024-08-221-19/+24
| | | | | | | Html li item is not a block element by default. It allows sub-elements to overflow next line. This change still allow element to go next line, but the overall file tree layout will not be affected.
* tools/syz-cover: filter by source commitTaras Madan2024-08-161-4/+5
|
* tools/syz-cover: explain coverage source commitTaras Madan2024-08-161-14/+58
|
* tools/syz-cover: add toolFileCoverTaras Madan2024-08-141-0/+73
|
* dashboard/app: enable subsystem= flag for coverage pagesTaras Madan2024-08-091-16/+23
| | | | It also fixes the context propagation bug.
* pkg/cover: fix pc for core kernelJoey Jiao2024-08-053-11/+20
| | | | | | | we use offset to symbolize pc for module, while use absolute pc for core kernel. Fix by removing base address from module only.
* pkg/cover: export cleanPathJoey Jiao2024-07-231-3/+3
|
* pkg/cover/templates/heatmap.html: hover line not cellTaras Madan2024-07-221-4/+4
|
* pkg/cover/templates/heatmap.html: interleave colorsTaras Madan2024-07-221-1/+18
|
* dashboard/app: add coverage->subsystems heatmapTaras Madan2024-07-221-44/+36
|
* dashboard/app: linkify subsystems coverageTaras Madan2024-07-221-7/+35
|
* syz-covermerger: store subsystems details in spannerTaras Madan2024-07-222-33/+31
|
* pkg/cover: show the total count in the coverage reportAlexander Potapenko2024-07-181-1/+19
| | | | | | | When working with standalone coverage reports, it can be sometimes useful to see the total count of covered basic blocks. Show it together with the percentage and the total number of BBs in the kernel (for the sake of uniformity)
* dashboard/app: integrate heatmap at /graph/coverage_heatmapTaras Madan2024-07-172-82/+126
|
* syz-cover: cache subsystems to speed-up report generationTaras Madan2024-07-171-1/+7
|
* syz-cover: add subsystems heatmapTaras Madan2024-07-171-0/+24
|
* syz-cover: make project-id configurable, defaults to syzkallerTaras Madan2024-07-151-4/+4
|
* pkg/cover/heatmap.go: add blocks countTaras Madan2024-07-153-32/+66
|
* pkg/cover: add heatmap_test.goTaras Madan2024-07-151-0/+113
|
* all: add the coverage map visualization to syz-coverTaras Madan2024-07-152-0/+290
|
* cover.html: source formattingTaras Madan2024-07-151-38/+41
|
* pkg/cover: move templates to filesTaras Madan2024-07-153-286/+289
|
* all: move KernelModule into vminfo packageJoey Jiao2024-07-109-61/+65
|
* pkg/cover/backend: don't consider gvisor/starnix as linuxDmitry Vyukov2024-07-032-3/+3
|
* all: calc kaslr offset and remove kaslr_offset from module addrJoey Jiao2024-07-032-1/+46
|