Prism AFL++ Fuzzing Telemetry

Source: /Users/stevenjohnstone/code/prism-fuzz-fixes/tmp/fuzz/afl • Runtime: 2m 34s • Generated: 2026-11-10 15:46:38
Fuzzer Workers
11
Uptime 2m 34s
Fleet Speed
497,046/s
76.48M total execs
Main Coverage
84.52%
9,548 / 11,297 edges
Source Coverage (LLVM)
95.75%
34,599 lines • 90.37% branches
Max Queue Size
18,746
across AFL++ workers
Grammar Seeds
72,736
453.61 files/s
Saved Crashes
12574
37 grammar • 12537 corpus • 0 hangs

Edge Coverage (%)

Percentage of instrumented CFG edges reached over time (map_size)

main 84.52% msan 75.79% ldet 16.96% main-2 72.72% main-3 72.11% main-4 72.16% main-5 72.12% main-6 72.14% main-7 72.12% main-8 72.15% main-9 72.11%
9.71% 29.80% 49.88% 69.97% 90.06% 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s main msan ldet main-2 main-3 main-4 main-5 main-6 main-7 main-8 main-9

Edges Discovered

Absolute number of edges hit in each worker's coverage map (edges_found)

main 9,548 msan 12,934 ldet 13,958 main-2 12,130 main-3 12,028 main-4 12,037 main-5 12,030 main-6 12,034 main-7 12,030 main-8 12,036 main-9 12,028
8,585 10,028 11,471 12,913 14,356 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s main msan ldet main-2 main-3 main-4 main-5 main-6 main-7 main-8 main-9

Corpus Size Growth

Total interesting inputs in queue per worker (corpus_count)

main 14.7K msan 10.6K ldet 18.7K main-2 18.7K main-3 17.9K main-4 18.3K main-5 18.1K main-6 18.4K main-7 17.5K main-8 18.2K main-9 18.2K
0 5,000 10K 15K 20K 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s main msan ldet main-2 main-3 main-4 main-5 main-6 main-7 main-8 main-9

Execution Throughput (execs/sec)

Instantaneous execution speed across workers

main 1250.08/s msan 1392.67/s ldet 0/s main-2 32.4K/s main-3 45.8K/s main-4 1539.53/s main-5 39K/s main-6 56.2K/s main-7 0/s main-8 41.2K/s main-9 46K/s
0/s 50K/s 100K/s 150K/s 200K/s 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s main msan ldet main-2 main-3 main-4 main-5 main-6 main-7 main-8 main-9

Cumulative Executions

Total target executions completed per worker (total_execs)

main 3.06M msan 1.26M ldet 2.87M main-2 8.6M main-3 7.62M main-4 8.1M main-5 7.37M main-6 7.79M main-7 12.6M main-8 7.97M main-9 9.23M
0 5M 10M 15M 20M 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s main msan ldet main-2 main-3 main-4 main-5 main-6 main-7 main-8 main-9

Pending Favored Queue

Unfuzzed favored entries remaining per worker (pending_favs)

main 1,673 msan 1,747 ldet 246 main-2 739 main-3 749 main-4 0 main-5 663 main-6 772 main-7 1,707 main-8 716 main-9 546
0 625 1,250 1,875 2,500 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s main msan ldet main-2 main-3 main-4 main-5 main-6 main-7 main-8 main-9

Synced Queue Items (Foreign Imports)

Cumulative queue entries imported from other fuzzers over time (sync:<source>)

main 12.3K msan 5,618 ldet 14.9K main-2 4,639 main-3 4,755 main-4 4,950 main-5 4,544 main-6 4,668 main-7 5,200 main-8 5,007 main-9 4,490
0 5,000 10K 15K 20K 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s main msan ldet main-2 main-3 main-4 main-5 main-6 main-7 main-8 main-9

Locally Discovered Queue Items

Cumulative queue entries discovered by each worker's own mutations (excluding initial seeds & syncs)

main 1,892 msan 4,883 ldet 3,780 main-2 14K main-3 13.1K main-4 13.2K main-5 13.6K main-6 13.7K main-7 12.2K main-8 13.1K main-9 13.6K
0 5,000 10K 15K 20K 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s main msan ldet main-2 main-3 main-4 main-5 main-6 main-7 main-8 main-9

Grammar Seeds Imported (-F)

Cumulative grammar-generated seeds imported into the fuzzer queue via foreign sync

grammar -> ldet 267
0 125 250 375 500 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s grammar -> ldet

Grammar File Creation Rate (files/sec)

Seed file creation rate over time (rolling and cumulative average)

grammar (files/s) 453.61 files/s grammar (avg) 470.21 files/s
0 files/s 250 files/s 500 files/s 750 files/s 1,000 files/s 0s 30s 1m 01s 1m 32s 2m 03s 2m 34s grammar (files/s) grammar (avg)

Peer Queue Sync Snapshot (main/.synced/<peer>)

How far main has scanned each peer's queue, and how many foreign inputs yielded novel edges vs. were rejected or skipped (overall: +12,552 imported / 205,534 tested = 6.11% yield, 32,709 unsynced backlog)

Imported (Novel) Tested & Rejected Skipped (sync:main) Unsynced Backlog
Peer Worker
Peer Queue Breakdown
Cursor / Queue
Imported / Tested (Yield)
grammar
72,736 / 72,736 (100%)
+267 / 72,736 tested (0.4%)
msan
7,154 / 10,554 (68%)
+142 / 5,667 tested (2.5%)
ldet
11,879 / 18,746 (63%)
+48 / 11,879 tested (0.4%)
main-2
15,552 / 18,675 (83%)
+738 / 14,382 tested (5.1%)
main-3
15,577 / 17,883 (87%)
+1,439 / 14,828 tested (9.7%)
main-4
16,993 / 18,251 (93%)
+906 / 15,919 tested (5.7%)
main-5
18,032 / 18,147 (99%)
+902 / 17,232 tested (5.2%)
main-6
14,982 / 18,375 (82%)
+1,572 / 13,922 tested (11.3%)
main-7
12,615 / 17,481 (72%)
+2,018 / 11,979 tested (16.8%)
main-8
14,693 / 18,168 (81%)
+2,033 / 13,475 tested (15.1%)
main-9
14,251 / 18,157 (78%)
+2,487 / 13,515 tested (18.4%)
Fuzzer Binary Schedule Speed Total Execs Map % Edges Src Line % Exclusive Corpus Local Finds Synced Main Sync Main Yield (Imp / Tested) Pending (Fav/All) Crashes Hangs Report
main fuzz exploit 19,964/s 3.06M 84.52% 9,548 / 11,297 85.29% (70.6% B) +0L / +1B 14,703 1,892 12,285 hub — 1,673 / 14,199 164 0 HTML ↗
msan fuzz.msan fast 8,205/s 1.26M 75.79% 12,934 / 17,065 89.97% (77.1% B) +22L / +14B 10,554 4,883 5,618 7,154 / 10,554 (68%) +142 / 5,667 (2.5%) 1,747 / 10,215 449 0 HTML ↗
ldet fuzz.ldet explore 18,685/s 2.87M 16.96% 13,958 / 82,304 92.66% (81.4% B) +0L / +5B 18,746 3,780 14,913 11,879 / 18,746 (63%) +48 / 11,879 (0.4%) 246 / 15,228 1587 0 HTML ↗
main-2 fuzz.native explore 55,861/s 8.6M 72.72% 12,130 / 16,681 94.65% (87.6% B) +7L / +12B 18,675 13,983 4,639 15,552 / 18,675 (83%) +738 / 14,382 (5.1%) 739 / 10,575 1534 0 HTML ↗
main-3 fuzz.native fast 49,519/s 7.62M 72.11% 12,028 / 16,681 94.43% (87.3% B) +8L / +15B 17,883 13,075 4,755 15,577 / 17,883 (87%) +1,439 / 14,828 (9.7%) 749 / 12,310 1274 0 HTML ↗
main-4 fuzz.native coe 52,620/s 8.1M 72.16% 12,037 / 16,681 94.44% (87.4% B) +7L / +9B 18,251 13,248 4,950 16,993 / 18,251 (93%) +906 / 15,919 (5.7%) 0 / 11,698 1153 0 HTML ↗
main-5 fuzz.native lin 47,909/s 7.37M 72.12% 12,030 / 16,681 94.49% (87.2% B) +16L / +15B 18,147 13,550 4,544 18,032 / 18,147 (99%) +902 / 17,232 (5.2%) 663 / 11,240 1338 0 HTML ↗
main-6 fuzz.native quad 50,635/s 7.79M 72.14% 12,034 / 16,681 94.40% (87.3% B) +2L / +4B 18,375 13,655 4,668 14,982 / 18,375 (82%) +1,572 / 13,922 (11.3%) 772 / 10,695 1462 0 HTML ↗
main-7 fuzz.native exploit 81,869/s 12.6M 72.12% 12,030 / 16,681 94.32% (87.0% B) +2L / +10B 17,481 12,229 5,200 12,615 / 17,481 (72%) +2,018 / 11,979 (16.8%) 1,707 / 15,979 1300 0 HTML ↗
main-8 fuzz.native rare 51,812/s 7.97M 72.15% 12,036 / 16,681 94.53% (87.5% B) +5L / +14B 18,168 13,109 5,007 14,693 / 18,168 (81%) +2,033 / 13,475 (15.1%) 716 / 13,401 1217 0 HTML ↗
main-9 fuzz.native mmopt 59,969/s 9.23M 72.11% 12,028 / 16,681 94.91% (88.0% B) +98L / +37B 18,157 13,615 4,490 14,251 / 18,157 (78%) +2,487 / 13,515 (18.4%) 546 / 12,294 1096 0 HTML ↗
Seed Generator Engine Mode Rate Avg Rate Pending Created Pruned Duplicates Foreign Sync Yield (-F) Src Line % Exclusive Report
grammar lrama-fuzz evolve 453.61 files/s 470.21 files/s 48,295 / 50,000 72,736 24,441 3,320 +267 / 72,736 (0.4% into ldet) 75.16% (+2,143L vs corpus) +16L / +14B HTML ↗

Crash Lineage & Multi-Worker Evolution (12,574 Crashes across 66 Pathways)

Backwards walk from every crash file through local mutations (src:) and peer syncs (sync:) to its root origin: 37 crashes from 10 grammar seeds (2,955 grammar-rooted queue items fleet-wide) • 12,537 crashes from 270 initial corpus seeds • 8,895 (70.7%) involved ≥2 fuzzers. Click any pathway to view step-by-step testcase evolution.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ ★ grammar→ldet
37 (0.3%)
11 10 4 steps ba92e473b8b537ada9e5 (14) Prism Loupe ↗
▸ corpus→main→main-5
1,141 (9.1%)
114 38 10 steps whitequark_dedenting_heredoc.txt.rb (430) Prism Loupe ↗
▸ corpus→main→main-4
940 (7.5%)
121 33 12 steps unparser_corpus_literal_dstr.txt.rb (380) Prism Loupe ↗
▸ corpus→main→main-2
906 (7.2%)
202 47 13 steps heredoc_percent_newline_delimiter.txt.rb (474) Prism Loupe ↗
▸ corpus→main-7
828 (6.6%)
165 23 6 steps heredoc_percent_q_newline_delimiter.txt.rb (489) Prism Loupe ↗
▸ corpus→main→main-9
813 (6.5%)
162 57 8 steps heredoc_percent_q_newline_delimiter.txt.rb (302) Prism Loupe ↗
▸ corpus→main→main-6
721 (5.7%)
228 52 14 steps unparser_corpus_literal_assignment.txt.rb (365) Prism Loupe ↗
▸ corpus→main→main-3
713 (5.7%)
126 52 13 steps unparser_corpus_semantic_dstr.txt.rb (196) Prism Loupe ↗
▸ corpus→main→main-8
663 (5.3%)
160 41 25 steps endless_method_rescue_modifier.txt.rb (169) Prism Loupe ↗
▸ corpus→main-6
641 (5.1%)
145 21 16 steps 3.3-3.3_return_in_sclass.txt.rb (293) Prism Loupe ↗
▸ corpus→main-3
533 (4.2%)
81 16 13 steps unparser_corpus_literal_literal.txt.rb (409) Prism Loupe ↗
▸ corpus→main→main-7→ldet
507 (4.0%)
15 2 7 steps unparser_corpus_semantic_dstr.txt.rb (506) Prism Loupe ↗
▸ corpus→main-8
477 (3.8%)
126 25 16 steps unparser_corpus_literal_assignment.txt.rb (291) Prism Loupe ↗
▸ corpus→main-2
433 (3.4%)
82 16 25 steps seattlerb_heredoc_nested.txt.rb (279) Prism Loupe ↗
▸ corpus→main-7→main→msan
405 (3.2%)
1 1 6 steps heredoc_percent_q_newline_delimiter.txt.rb (405) Prism Loupe ↗
▸ corpus→main→main-7
401 (3.2%)
76 62 7 steps heredoc_percent_newline_delimiter.txt.rb (176) Prism Loupe ↗
▸ corpus→main-6→ldet
390 (3.1%)
33 5 7 steps heredoc_percent_newline_delimiter.txt.rb (371) Prism Loupe ↗
▸ corpus→main-9
233 (1.9%)
98 25 24 steps dash_heredocs.txt.rb (103) Prism Loupe ↗
▸ corpus→main-3→ldet
211 (1.7%)
25 5 6 steps unparser_corpus_literal_literal.txt.rb (206) Prism Loupe ↗
▸ corpus→main-4
178 (1.4%)
94 18 15 steps 3.3-3.3_it_with_ordinary_parameter.txt.rb (95) Prism Loupe ↗
▸ corpus→ldet→main-2
173 (1.4%)
78 12 16 steps 3.3-3.3_it.txt.rb (92) Prism Loupe ↗
▸ corpus→main-5
154 (1.2%)
67 16 14 steps seattlerb_pct_w_heredoc_interp_nested.txt.rb (62) Prism Loupe ↗
▸ corpus→main-7→ldet
134 (1.1%)
13 1 7 steps heredoc_percent_q_newline_delimiter.txt.rb (134) Prism Loupe ↗
▸ corpus→main
118 (0.9%)
67 31 4 steps 3.3-3.3_block_args_in_array_assignment.txt.rb (57) Prism Loupe ↗
▸ corpus→main→main-6→ldet
106 (0.8%)
9 2 7 steps strings.txt.rb (105) Prism Loupe ↗
▸ corpus→ldet→main-6
87 (0.7%)
32 9 10 steps 3.3-3.3_it.txt.rb (38) Prism Loupe ↗
▸ corpus→ldet→main-7
71 (0.6%)
45 16 6 steps whitequark_and_asgn.txt.rb (11) Prism Loupe ↗
▸ corpus→ldet→main-8
66 (0.5%)
23 9 9 steps 3.3-3.3_it.txt.rb (51) Prism Loupe ↗
▸ corpus→ldet→main-9
48 (0.4%)
25 7 8 steps whitequark_and_asgn.txt.rb (24) Prism Loupe ↗
▸ corpus→main-7→main
46 (0.4%)
13 5 5 steps 3.3-4.0_end_block_exit.txt.rb (26) Prism Loupe ↗
▸ corpus→main-8→ldet
44 (0.3%)
23 9 7 steps unparser_corpus_literal_assignment.txt.rb (28) Prism Loupe ↗
▸ corpus→ldet→main-5
39 (0.3%)
29 8 17 steps seattlerb_parse_pattern_058_2.txt.rb (16) Prism Loupe ↗
▸ corpus→ldet→main-4
29 (0.2%)
17 9 8 steps classes.txt.rb (14) Prism Loupe ↗
▸ corpus→ldet→main-3
28 (0.2%)
21 7 15 steps classes.txt.rb (20) Prism Loupe ↗
▸ corpus→main→main-2→ldet
26 (0.2%)
13 4 8 steps heredoc_percent_newline_delimiter.txt.rb (12) Prism Loupe ↗
▸ corpus→msan
24 (0.2%)
19 9 4 steps 3.3-3.3_block_args_in_array_assignment.txt.rb (10) Prism Loupe ↗
▸ corpus→ldet
23 (0.2%)
4 1 4 steps 3.3-3.3_it.txt.rb (23) Prism Loupe ↗
▸ corpus→main-4→ldet
19 (0.2%)
12 8 7 steps pattern_many_captures.txt.rb (9) Prism Loupe ↗
▸ corpus→main-5→ldet
19 (0.2%)
8 3 7 steps regex.txt.rb (16) Prism Loupe ↗
▸ corpus→main-9→ldet
18 (0.1%)
13 8 7 steps dash_heredocs.txt.rb (8) Prism Loupe ↗
▸ corpus→main→main-3→ldet
16 (0.1%)
7 6 6 steps seattlerb_symbol_list.txt.rb (6) Prism Loupe ↗
▸ corpus→main-7→main→main-2
15 (0.1%)
10 3 11 steps constants.txt.rb (8) Prism Loupe ↗
▸ corpus→main→main-5→ldet
12 (0.1%)
9 7 6 steps whitequark_dedenting_heredoc.txt.rb (5) Prism Loupe ↗
▸ corpus→main-7→main→main-6
11 (0.1%)
10 4 8 steps corpus_CP949.rb (5) Prism Loupe ↗
▸ corpus→ldet→main-2→ldet
9 (0.1%)
4 2 8 steps classes.txt.rb (6) Prism Loupe ↗
▸ corpus→main→msan
9 (0.1%)
3 3 5 steps corpus_ISO-8859-6.rb (4) Prism Loupe ↗
▸ corpus→ldet→main-5→ldet
8 (0.1%)
4 2 8 steps classes.txt.rb (7) Prism Loupe ↗
▸ corpus→main→main-8→ldet→main-2
6 (0.0%)
2 2 15 steps endless_method_rescue_modifier.txt.rb (5) Prism Loupe ↗
▸ corpus→main-7→main→main-8
6 (0.0%)
4 3 6 steps constants.txt.rb (4) Prism Loupe ↗
▸ corpus→main→main-7→ldet→msan
5 (0.0%)
2 2 7 steps undef.txt.rb (4) Prism Loupe ↗
▸ corpus→main-7→ldet→msan
5 (0.0%)
1 1 6 steps constants.txt.rb (5) Prism Loupe ↗
▸ corpus→main-7→main→main-4
5 (0.0%)
4 3 8 steps constants.txt.rb (2) Prism Loupe ↗
▸ corpus→main→main-8→ldet→main-5
3 (0.0%)
1 1 11 steps endless_method_rescue_modifier.txt.rb (3) Prism Loupe ↗
▸ corpus→main-7→ldet→main-8
3 (0.0%)
3 3 8 steps string_concatination_frozen_true.txt.rb (1) Prism Loupe ↗
▸ corpus→main→main-4→ldet
3 (0.0%)
3 3 7 steps seattlerb_TestRubyParserShared.txt.rb (1) Prism Loupe ↗
▸ corpus→main→main-7→ldet→main-8
2 (0.0%)
2 2 6 steps whitequark_pattern_matching_hash.txt.rb (1) Prism Loupe ↗
▸ corpus→main-3→ldet→main-6
2 (0.0%)
1 1 7 steps unparser_corpus_literal_literal.txt.rb (2) Prism Loupe ↗
▸ corpus→main-6→ldet→main-9
2 (0.0%)
2 1 13 steps 3.3-3.3_return_in_sclass.txt.rb (2) Prism Loupe ↗
▸ corpus→ldet→main-3→ldet
2 (0.0%)
2 2 6 steps classes.txt.rb (1) Prism Loupe ↗
▸ corpus→main-6→ldet→main-2
1 (0.0%)
1 1 12 steps 3.3-3.3_return_in_sclass.txt.rb (1) Prism Loupe ↗
▸ corpus→main-6→ldet→main-5
1 (0.0%)
1 1 12 steps 3.3-3.3_return_in_sclass.txt.rb (1) Prism Loupe ↗
▸ corpus→main-7→ldet→main-4
1 (0.0%)
1 1 6 steps case.txt.rb (1) Prism Loupe ↗
▸ corpus→main-7→ldet→main-4→ldet
1 (0.0%)
1 1 8 steps case.txt.rb (1) Prism Loupe ↗
▸ corpus→main-9→main→msan
1 (0.0%)
1 1 6 steps keyword_method_names.txt.rb (1) Prism Loupe ↗
▸ corpus→main→main-8→ldet
1 (0.0%)
1 1 6 steps 3.3-3.3_block_args_in_array_assignment.txt.rb (1) Prism Loupe ↗
▸ corpus→msan→ldet
1 (0.0%)
1 1 5 steps character_literal.txt.rb (1) Prism Loupe ↗

Source Coverage Breakdown (By Worker & Combined)

Partitioned across 13 origins (131,753 unique inputs) and merged via llvm-profdata • Collected: 2026-11-10T14:14:55+00:00

Combined Line Coverage
95.75%
34,599 / 36,135 lines (+5,974 vs corpus)
Combined Branch Coverage
90.37%
16,751 / 18,535 branches (+4,780 vs corpus)
Combined Region Coverage
89.04%
25,611 / 28,764 regions (3,153 missed)
Combined Function Coverage
98.05%
1,055 / 1,076 functions (21 missed)
Exclusive Worker Coverage
+199L / +157B
lines & branches uniquely held by a single origin

Coverage by Origin (Self-Originated Inputs vs. Combined Union)

Each worker is evaluated on the inputs it originated before merging into the combined profile. Gain vs. Corpus measures merge(corpus, worker) - corpus; Exclusive measures combined - merge(all_other_origins). Click any worker row to open its telemetry tab.

Origin Role Originated Inputs Lines Covered Branches Covered Regions % Functions % Gain vs. Corpus Exclusive (Lines / Branches / Regions) llvm-cov Report
combined (all origins) Combined Campaign 131,753
95.75% (34,599 / 36,135)
90.37% (16,751 / 18,535)
89.04% 98.05% +5,974L / +4,780B union HTML ↗ • Txt ↗
corpus Initial Seed Corpus 647
79.22% (28,625 / 36,135)
64.59% (11,971 / 18,535)
70.00% 87.36% baseline +16L / +7B / +18R HTML ↗ • Txt ↗
grammar Grammar Seed Generator 270
75.16% (27,158 / 36,135)
58.32% (10,810 / 18,535)
62.21% 80.11% +2,143L / +1,143B +16L / +14B / +10R HTML ↗ • Txt ↗
main AFL++ Fuzzer Worker 2,178
85.29% (30,818 / 36,135)
70.63% (13,091 / 18,535)
75.41% 92.84% +3,534L / +2,086B +0L / +1B / +0R HTML ↗ • Txt ↗
msan AFL++ Fuzzer Worker 5,332
89.97% (32,511 / 36,135)
77.11% (14,292 / 18,535)
80.55% 94.89% +4,578L / +2,948B +22L / +14B / +15R HTML ↗ • Txt ↗
ldet AFL++ Fuzzer Worker 5,381
92.66% (33,483 / 36,135)
81.36% (15,081 / 18,535)
84.01% 97.03% +4,960L / +3,327B +0L / +5B / +2R HTML ↗ • Txt ↗
main-2 AFL++ Fuzzer Worker 15,521
94.65% (34,202 / 36,135)
87.64% (16,244 / 18,535)
87.55% 97.58% +5,609L / +4,306B +7L / +12B / +6R HTML ↗ • Txt ↗
main-3 AFL++ Fuzzer Worker 14,614
94.43% (34,121 / 36,135)
87.31% (16,182 / 18,535)
87.34% 97.68% +5,563L / +4,269B +8L / +15B / +11R HTML ↗ • Txt ↗
main-4 AFL++ Fuzzer Worker 14,403
94.44% (34,126 / 36,135)
87.40% (16,199 / 18,535)
87.33% 97.68% +5,533L / +4,266B +7L / +9B / +6R HTML ↗ • Txt ↗
main-5 AFL++ Fuzzer Worker 15,129
94.49% (34,143 / 36,135)
87.21% (16,164 / 18,535)
87.23% 97.68% +5,541L / +4,227B +16L / +15B / +18R HTML ↗ • Txt ↗
main-6 AFL++ Fuzzer Worker 15,127
94.40% (34,110 / 36,135)
87.31% (16,182 / 18,535)
87.32% 97.77% +5,515L / +4,245B +2L / +4B / +2R HTML ↗ • Txt ↗
main-7 AFL++ Fuzzer Worker 13,669
94.32% (34,082 / 36,135)
87.04% (16,132 / 18,535)
86.97% 97.40% +5,477L / +4,183B +2L / +10B / +3R HTML ↗ • Txt ↗
main-8 AFL++ Fuzzer Worker 14,352
94.53% (34,160 / 36,135)
87.48% (16,214 / 18,535)
87.30% 97.68% +5,567L / +4,281B +5L / +14B / +8R HTML ↗ • Txt ↗
main-9 AFL++ Fuzzer Worker 15,130
94.91% (34,294 / 36,135)
88.04% (16,319 / 18,535)
87.99% 97.96% +5,693L / +4,375B +98L / +37B / +51R HTML ↗ • Txt ↗

Per-File Coverage & Exclusive Worker Contributions

Combined coverage per source file alongside initial corpus baseline, grammar generator coverage, and workers holding exclusive lines/branches (click any exclusive pill or row to inspect exact C source code)

Browse Annotated Source (HTML) ↗
Source File Combined Lines Missed L Combined Branches Missed B Initial Corpus (+Campaign Gain) Grammar (+vs Corpus) Origins with Exclusive Coverage in File
include/prism/compiler/stack.h ↗ 21.74% (5/23) 18 — 0 21.74% 21.74% —
include/prism/constant_pool.h ↗ 0.00% (0/3) 3 — 0 0.00% 0.00% —
include/prism/integer.h ↗ 91.67% (11/12) 1 100.00% (2/2) 0 91.67% 75.00% —
include/prism/internal/arena.h ↗ 60.42% (29/48) 19 70.00% (7/10) 3 47.92% (+6L) 20.83% —
include/prism/internal/bignum.h ↗ 78.22% (79/101) 22 75.68% (56/74) 18 71.29% (+7L) 7.92% —
include/prism/internal/char.h ↗ 0.00% (0/13) 13 — 0 0.00% 0.00% —
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) 0 — 0 100.00% 100.00% —
include/prism/internal/integer.h ↗ 100.00% (6/6) 0 100.00% (4/4) 0 100.00% 100.00% —
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) 11 — 0 0.00% 0.00% —
include/prism/internal/node.h ↗ 0.00% (0/7) 7 — 0 0.00% 0.00% —
include/prism/internal/parser.h ↗ 100.00% (5/5) 0 50.00% (1/2) 1 100.00% 100.00% —
src/arena.c ↗ 100.00% (46/46) 0 58.33% (14/24) 10 95.65% (+2L) 89.13% ▾ corpus: +3L/+2B ↗ ▾ main-2: +1B ↗
src/bignum.c ↗ 34.29% (24/70) 46 18.18% (4/22) 18 0.00% (+24L) 0.00% —
src/buffer.c ↗ 99.55% (223/224) 1 86.41% (89/103) 14 86.61% (+29L) 69.64% ▾ main-9: +4L/+1B ↗
src/char.c ↗ 100.00% (89/89) 0 95.00% (38/40) 2 89.89% (+9L) 70.79% —
src/comments.c ↗ 100.00% (224/224) 0 95.59% (130/136) 6 0.00% (+224L) 0.00% —
src/constant_pool.c ↗ 98.84% (171/173) 2 78.21% (61/78) 17 98.84% 86.71% —
src/diagnostic.c ↗ 96.61% (57/59) 2 56.25% (9/16) 7 89.83% (+4L) 89.83% —
src/double.c ↗ 95.67% (221/231) 10 81.90% (172/210) 38 28.14% (+156L) 21.21% ▾ main-3: +1B ↗
src/encoding.c ↗ 97.32% (508/522) 14 96.55% (1,149/1,190) 41 56.51% (+213L) 4.02% ▾ main-9: +2L/+4B ↗ ▾ main-2: +4B ↗ ▾ main-3: +2B ↗ ▾ main-6: +2B ↗ ▾ main-5: +1B ↗ ▾ main-7: +1B ↗
src/errors_format.c ↗ 93.90% (308/328) 20 87.63% (170/194) 24 78.66% (+50L) 86.28% (+25L) —
src/integer.c ↗ 81.11% (262/323) 61 68.83% (159/231) 72 53.56% (+89L) 15.48% —
src/json.c ↗ 93.56% (3,998/4,273) 275 87.62% (1,111/1,268) 157 83.31% (+438L) 82.71% (+203L) ▾ main-9: +21L/+5B ↗ ▾ main-5: +8L/+5B ↗ ▾ grammar: +8L/+4B ↗ ▾ main-3: +4L/+5B ↗ ▾ msan: +4L/+4B ↗ ▾ main-7: +2B ↗ ▾ main-4: +1B ↗
src/line_offset_list.c ↗ 100.00% (52/52) 0 100.00% (12/12) 0 63.46% (+19L) 90.38% (+14L) —
src/list.c ↗ 100.00% (12/12) 0 100.00% (2/2) 0 100.00% 100.00% —
src/memchr.c ↗ 100.00% (19/19) 0 100.00% (12/12) 0 78.95% (+4L) 31.58% —
src/node.c ↗ 99.96% (2,341/2,342) 1 78.49% (730/930) 200 93.47% (+152L) 94.83% (+118L) ▾ main-9: +13L/+2B ↗
src/options.c ↗ 72.27% (86/119) 33 38.10% (16/42) 26 38.66% (+40L) 38.66% —
src/parser.c ↗ 100.00% (12/12) 0 100.00% (4/4) 0 75.00% (+3L) 66.67% (+3L) —
src/prettyprint.c ↗ 96.20% (7,263/7,550) 287 88.00% (1,181/1,342) 161 86.99% (+695L) 87.44% (+399L) ▾ main-9: +30L/+6B ↗ ▾ main-5: +8L/+5B ↗ ▾ grammar: +8L/+4B ↗ ▾ main-3: +4L/+5B ↗ ▾ msan: +4L/+4B ↗ ▾ main-7: +2B ↗ ▾ main-4: +1B ↗
src/prism.c ↗ 97.86% (14,500/14,817) 317 91.84% (9,365/10,197) 832 80.08% (+2,634L) 74.70% (+1,018L) ▾ main-9: +21L/+13B ↗ ▾ msan: +14L/+6B ↗ ▾ main-8: +5L/+14B ↗ ▾ main-2: +4L/+4B ↗ ▾ main-7: +2L/+3B ↗ ▾ grammar: +6B ↗ ▾ ldet: +5B ↗ ▾ main-5: +4B ↗ ▾ main-4: +2B ↗ ▾ main: +1B ↗ ▾ main-6: +1B ↗
src/regexp.c ↗ 96.76% (985/1,018) 33 94.80% (766/808) 42 49.21% (+484L) 27.90% (+50L) ▾ main-2: +3L/+3B ↗ ▾ main-3: +2B ↗ ▾ main-7: +2B ↗ ▾ main-4: +1B ↗ ▾ main-9: +1B ↗
src/serialize.c ↗ 88.25% (2,065/2,340) 275 98.74% (785/795) 10 82.52% (+134L) 82.86% (+89L) ▾ main-9: +7L/+2B ↗
src/static_literals.c ↗ 88.71% (322/363) 41 81.18% (233/287) 54 36.64% (+189L) 22.59% (+13L) ▾ main-4: +7L/+4B ↗ ▾ main-9: +3B ↗
src/stringy.c ↗ 100.00% (26/26) 0 75.00% (6/8) 2 92.31% (+2L) 100.00% (+2L) —
src/strncasecmp.c ↗ 100.00% (16/16) 0 91.67% (11/12) 1 100.00% 0.00% —
src/strpbrk.c ↗ 98.80% (165/167) 2 92.39% (85/92) 7 68.86% (+50L) 40.12% (+1L) —
src/tokens.c ↗ 94.83% (330/348) 18 94.10% (335/356) 21 4.89% (+313L) 64.08% (+208L) ▾ main-6: +2L/+1B ↗
src/xxh3.c ↗ 97.08% (133/137) 4 100.00% (32/32) 0 94.16% (+4L) 56.93% ▾ corpus: +13L/+5B ↗

main

afl-fuzz -M main -t 250+ -x ./test/fuzz/dict -G 1024 -c ./build/fuzz.cmplog -i ./tmp/fuzz/corpus -p exploit -o ./tmp/fuzz/afl ./build/fuzz

Schedule: exploit Stability: 100.00% Samples: 20 Worker llvm-cov HTML ↗
AFL++ Map Coverage
84.52%
9,548 / 11,297 edges
Source Coverage (Originated)
85.29%
30,818 lines • 70.63% branches (+3,534L / +2,086B vs corpus)
Exclusive to main
+0L / +1B
lines & branches not hit by any other origin
Throughput
19,964/s
3.06M total execs
Corpus Queue
14,703
+1,892 local, 12,285 synced
Pending (Fav / Total)
1,673
of 14,199 unfuzzed
Cycles / Max Depth
0
max depth 3
Crashes / Hangs
164 / 0
Peak RSS: 69 MB

Coverage & Edges Discovered

Instrumented edges reached (out of 11,297 total)

edges_found 9,548
8,938 9,102 9,266 9,429 9,593 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s edges_found

Map Density (%)

Bitmap coverage percentage over time (map_size)

map_size 84.52%
79.12% 80.57% 82.02% 83.47% 84.92% 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s map_size

Queue & Pending Corpus

Total queue size vs. pending unfuzzed and pending favored items

corpus_count 14.7K pending_total 14.2K pending_favs 1,673
0 5,000 10K 15K 20K 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s corpus_count pending_total pending_favs

Queue Origin Breakdown (Local vs. Synced)

Total queue split into locally mutated finds, foreign synced imports, and initial seeds

corpus_count 14.7K local_finds 1,892 synced_imports 12.3K initial_seeds 526
0 5,000 10K 15K 20K 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s corpus_count local_finds synced_imports initial_seeds

Synced Imports by Source Fuzzer

Which foreign fuzzers contributed synced queue entries to main over time

from msan 142 from ldet 48 from main-2 738 from main-3 1,439 from main-4 906 from main-5 902 from main-6 1,572 from main-7 2,018 from main-8 2,033 from main-9 2,487
0 1,250 2,500 3,750 5,000 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s from msan from ldet from main-2 from main-3 from main-4 from main-5 from main-6 from main-7 from main-8 from main-9

Execution Speed (execs/sec)

Target executions per second over time

execs_per_sec 1250.08/s
0/s 25K/s 50K/s 75K/s 100K/s 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s execs_per_sec

Cumulative Executions

Total executions completed by main

total_execs 3.06M
0 1.25M 2.5M 3.75M 5M 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s total_execs

Crashes, Hangs & Queue Depth

Saved crashes, saved hangs, cycles done, and max mutation depth

saved_crashes 164 saved_hangs 0 max_depth 3 cycles_done 0
0 50 100 150 200 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s saved_crashes saved_hangs max_depth cycles_done

Crash Lineage Involving main (164 Direct Crashes • 7,437 Forwarded to Peers)

Pathways where main either discovered the crash directly or mutated/forwarded an ancestor queue item that later crashed in another worker.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ corpus→main→main-5
1,141 (15.0%)
114 38 10 steps whitequark_dedenting_heredoc.txt.rb (430) Prism Loupe ↗
▸ corpus→main→main-4
940 (12.4%)
121 33 12 steps unparser_corpus_literal_dstr.txt.rb (380) Prism Loupe ↗
▸ corpus→main→main-2
906 (11.9%)
202 47 13 steps heredoc_percent_newline_delimiter.txt.rb (474) Prism Loupe ↗
▸ corpus→main→main-9
813 (10.7%)
162 57 8 steps heredoc_percent_q_newline_delimiter.txt.rb (302) Prism Loupe ↗
▸ corpus→main→main-6
721 (9.5%)
228 52 14 steps unparser_corpus_literal_assignment.txt.rb (365) Prism Loupe ↗
▸ corpus→main→main-3
713 (9.4%)
126 52 13 steps unparser_corpus_semantic_dstr.txt.rb (196) Prism Loupe ↗
▸ corpus→main→main-8
663 (8.7%)
160 41 25 steps endless_method_rescue_modifier.txt.rb (169) Prism Loupe ↗
▸ corpus→main→main-7→ldet
507 (6.7%)
15 2 7 steps unparser_corpus_semantic_dstr.txt.rb (506) Prism Loupe ↗
▸ corpus→main-7→main→msan
405 (5.3%)
1 1 6 steps heredoc_percent_q_newline_delimiter.txt.rb (405) Prism Loupe ↗
▸ corpus→main→main-7
401 (5.3%)
76 62 7 steps heredoc_percent_newline_delimiter.txt.rb (176) Prism Loupe ↗
▸ corpus→main
118 (1.6%)
67 31 4 steps 3.3-3.3_block_args_in_array_assignment.txt.rb (57) Prism Loupe ↗
▸ corpus→main→main-6→ldet
106 (1.4%)
9 2 7 steps strings.txt.rb (105) Prism Loupe ↗
▸ corpus→main-7→main
46 (0.6%)
13 5 5 steps 3.3-4.0_end_block_exit.txt.rb (26) Prism Loupe ↗
▸ corpus→main→main-2→ldet
26 (0.3%)
13 4 8 steps heredoc_percent_newline_delimiter.txt.rb (12) Prism Loupe ↗
▸ corpus→main→main-3→ldet
16 (0.2%)
7 6 6 steps seattlerb_symbol_list.txt.rb (6) Prism Loupe ↗
▸ corpus→main-7→main→main-2
15 (0.2%)
10 3 11 steps constants.txt.rb (8) Prism Loupe ↗
▸ corpus→main→main-5→ldet
12 (0.2%)
9 7 6 steps whitequark_dedenting_heredoc.txt.rb (5) Prism Loupe ↗
▸ corpus→main-7→main→main-6
11 (0.1%)
10 4 8 steps corpus_CP949.rb (5) Prism Loupe ↗
▸ corpus→main→msan
9 (0.1%)
3 3 5 steps corpus_ISO-8859-6.rb (4) Prism Loupe ↗
▸ corpus→main→main-8→ldet→main-2
6 (0.1%)
2 2 15 steps endless_method_rescue_modifier.txt.rb (5) Prism Loupe ↗
▸ corpus→main-7→main→main-8
6 (0.1%)
4 3 6 steps constants.txt.rb (4) Prism Loupe ↗
▸ corpus→main→main-7→ldet→msan
5 (0.1%)
2 2 7 steps undef.txt.rb (4) Prism Loupe ↗
▸ corpus→main-7→main→main-4
5 (0.1%)
4 3 8 steps constants.txt.rb (2) Prism Loupe ↗
▸ corpus→main→main-8→ldet→main-5
3 (0.0%)
1 1 11 steps endless_method_rescue_modifier.txt.rb (3) Prism Loupe ↗
▸ corpus→main→main-4→ldet
3 (0.0%)
3 3 7 steps seattlerb_TestRubyParserShared.txt.rb (1) Prism Loupe ↗
▸ corpus→main→main-7→ldet→main-8
2 (0.0%)
2 2 6 steps whitequark_pattern_matching_hash.txt.rb (1) Prism Loupe ↗
▸ corpus→main-9→main→msan
1 (0.0%)
1 1 6 steps keyword_method_names.txt.rb (1) Prism Loupe ↗
▸ corpus→main→main-8→ldet
1 (0.0%)
1 1 6 steps 3.3-3.3_block_args_in_array_assignment.txt.rb (1) Prism Loupe ↗

Source Coverage by File (Originated by main)

Standalone coverage from 2,178 originated inputs. Exclusive source lines (emerald) and branches (sky blue) are shown inline below each file.

Open main llvm-cov HTML ↗
File Line Coverage Branch Coverage Region % Function % Gain vs. Corpus Exclusive to main
src/prism.c ↗ 86.52% (12,819/14,817) 73.05% (7,449/10,197) 78.92% 95.80% +1,575L / +1,103B
Lines 18305–18309 in ensure_valid_yield() Open in llvm-cov (#L18307) ↗
18305
                break;
18306
            case PM_CONTEXT_BEGIN:
18307 BR → True (1x)
            case PM_CONTEXT_BEGIN_ELSE:
18308
            case PM_CONTEXT_BEGIN_ENSURE:
18309
            case PM_CONTEXT_BEGIN_RESCUE:
src/prettyprint.c ↗ 88.23% (6,661/7,550) 74.22% (996/1,342) 75.93% 100.00% +404L / +66B 0
src/tokens.c ↗ 86.78% (302/348) 90.17% (321/356) 72.95% 100.00% +285L / +142B 0
src/comments.c ↗ 98.21% (220/224) 86.03% (117/136) 91.44% 100.00% +220L / +117B 0
src/json.c ↗ 84.93% (3,629/4,273) 74.05% (939/1,268) 79.71% 100.00% +216L / +62B 0
src/regexp.c ↗ 65.72% (669/1,018) 53.96% (436/808) 62.39% 88.57% +202L / +161B 0
src/double.c ↗ 91.34% (211/231) 70.95% (149/210) 74.47% 100.00% +146L / +85B 0
src/node.c ↗ 96.67% (2,264/2,342) 74.30% (691/930) 73.76% 96.67% +109L / +28B 0
src/serialize.c ↗ 83.68% (1,958/2,340) 95.22% (757/795) 93.39% 100.00% +99L / +29B 0
src/encoding.c ↗ 59.00% (308/522) 39.16% (466/1,190) 57.42% 80.56% +74L / +161B 0
src/static_literals.c ↗ 45.45% (165/363) 40.07% (115/287) 34.44% 76.47% +48L / +29B 0
src/errors_format.c ↗ 92.07% (302/328) 84.54% (164/194) 84.23% 100.00% +44L / +36B 0
src/options.c ↗ 72.27% (86/119) 38.10% (16/42) 59.81% 95.00% +40L / +7B 0
src/strpbrk.c ↗ 82.63% (138/167) 68.48% (63/92) 71.86% 88.89% +33L / +22B 0
src/line_offset_list.c ↗ 100.00% (52/52) 100.00% (12/12) 100.00% 100.00% +19L / +6B 0
src/char.c ↗ 100.00% (89/89) 90.00% (36/40) 96.34% 100.00% +9L / +12B 0
src/buffer.c ↗ 86.16% (193/224) 76.70% (79/103) 71.82% 91.67% +5L / +3B 0
src/parser.c ↗ 100.00% (12/12) 100.00% (4/4) 100.00% 100.00% +3L / +1B 0
src/stringy.c ↗ 100.00% (26/26) 75.00% (6/8) 75.00% 100.00% +2L / +1B 0
include/prism/internal/bignum.h ↗ 72.28% (73/101) 63.51% (47/74) 66.89% 88.89% +1L / +5B 0
include/prism/compiler/stack.h ↗ 21.74% (5/23) — 100.00% 100.00% — 0
include/prism/constant_pool.h ↗ 0.00% (0/3) — 0.00% 0.00% — 0
include/prism/integer.h ↗ 91.67% (11/12) 100.00% (2/2) 100.00% 100.00% — 0
include/prism/internal/arena.h ↗ 47.92% (23/48) 40.00% (4/10) 65.00% 75.00% — 0
include/prism/internal/char.h ↗ 0.00% (0/13) — 0.00% 0.00% — 0
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) — 100.00% 100.00% — 0
include/prism/internal/integer.h ↗ 100.00% (6/6) 100.00% (4/4) 100.00% 100.00% +0L / +1B 0
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) — 0.00% 0.00% — 0
include/prism/internal/node.h ↗ 0.00% (0/7) — 0.00% 0.00% — 0
include/prism/internal/parser.h ↗ 100.00% (5/5) 50.00% (1/2) 75.00% 100.00% — 0
src/arena.c ↗ 89.13% (41/46) 37.50% (9/24) 57.35% 100.00% — 0
src/bignum.c ↗ 0.00% (0/70) 0.00% (0/22) 0.00% 0.00% — 0
src/constant_pool.c ↗ 97.11% (168/173) 73.08% (57/78) 74.27% 100.00% +0L / +1B 0
src/diagnostic.c ↗ 89.83% (53/59) 50.00% (8/16) 63.33% 100.00% — 0
src/integer.c ↗ 53.56% (173/323) 42.86% (99/231) 41.20% 61.11% +0L / +7B 0
src/list.c ↗ 100.00% (12/12) 100.00% (2/2) 100.00% 100.00% — 0
src/memchr.c ↗ 31.58% (6/19) 41.67% (5/12) 40.00% 100.00% — 0
src/strncasecmp.c ↗ 100.00% (16/16) 91.67% (11/12) 94.44% 100.00% +0L / +1B 0
src/xxh3.c ↗ 84.67% (116/137) 81.25% (26/32) 77.78% 92.31% — 0

grammar

ruby ./test/fuzz/runtime/grammar.rb ./tmp/fuzz/afl /tmp/afl-tmpdir/grammar/seeds

Role: Seed Generator (evolve) Runtime: 2m 34s Samples: 30 Worker llvm-cov HTML ↗
Files Created
72,736
95.6% unique of 76,056 generated (3,320 dup)
File Creation Rate
453.61 files/s
avg 470.21 files/s over 2m 34s
Valid / Invalid Split
60,182 / 12,554
valid vs. mutated/invalid Ruby seeds
Imported by ldet
+267 (0.4%)
2,955 fleet queue items • 37 crashes (10 seeds)
Source Coverage (Seeds)
75.16%
27,158 lines • 58.32% branches (+2,143L / +1,143B vs corpus)
Exclusive to grammar
+16L / +14B
lines & branches not hit by any other origin

Cumulative Files Created

Unique seed files written to disk vs. total generation attempts

files_created 72.7K attempts_done 76.1K
0 25K 50K 75K 100K 0s 30s 1m 01s 1m 32s 2m 03s 2m 34s files_created attempts_done

File Creation Rate (files/sec)

Seed file creation rate over time (rolling interval and cumulative average)

files_per_sec 453.61 files/s avg_files_per_sec 470.21 files/s
0 files/s 250 files/s 500 files/s 750 files/s 1,000 files/s 0s 30s 1m 01s 1m 32s 2m 03s 2m 34s files_per_sec avg_files_per_sec

Valid vs. Invalid Generated Files

Breakdown of syntactically valid vs. error-injected Ruby seeds created

files_valid 60.2K files_invalid 12.6K
0 25K 50K 75K 100K 0s 30s 1m 01s 1m 32s 2m 03s 2m 34s files_valid files_invalid

Imports into ldet Queue

Cumulative grammar seed files imported by ldet via -F foreign sync

imported_by_ldet 267
0 125 250 375 500 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s imported_by_ldet

Crash Lineage Involving grammar (37 Crashes from 10 Seeds across 1 Pathways)

Pathways where grammar-generated seeds were imported via -F foreign sync and mutated into crashes across the fuzzer fleet.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ ★ grammar→ldet
37 (100.0%)
11 10 4 steps ba92e473b8b537ada9e5 (14) Prism Loupe ↗

Grammar Seed Fleet Propagation & Per-Seed Crash Breakdown

2,955 queue testcases across the fleet and 37 crashes (from 10 generated seeds) trace their ancestry back to grammar. Click any seed row below to inspect the generated Ruby code and the mutation steps that triggered the crash, or open directly in Prism Loupe.

Queue Propagation Pathways Across Fleet (2,955 queue entries rooted in grammar)
★ grammar→ldet 569 Prism Loupe ↗
★ grammar→ldet→main-7 312 Prism Loupe ↗
★ grammar→ldet→main-9 271 Prism Loupe ↗
★ grammar→ldet→main-5 255 Prism Loupe ↗
★ grammar→ldet→main-3 250 Prism Loupe ↗
★ grammar→ldet→main-6 249 Prism Loupe ↗
★ grammar→ldet→main-4 248 Prism Loupe ↗
★ grammar→ldet→main-8 246 Prism Loupe ↗
★ grammar→ldet→main-2 223 Prism Loupe ↗
★ grammar→ldet→msan 159 Prism Loupe ↗
★ grammar→ldet→main-3→main 53 Prism Loupe ↗
★ grammar→ldet→main 47 Prism Loupe ↗
★ grammar→ldet→main-5→main 39 Prism Loupe ↗
★ grammar→ldet→main-4→main 34 Prism Loupe ↗
Grammar Seed ID Deepest Pathway Crashes Queue Intermediates Max Depth Sample Crash Parse Animator
▸ ba92e473b8b537ada9e5 ★ grammar→ldet 14 2 4 steps ldet id:001564 Prism Loupe (Seed) ↗ • Prism Loupe (Crash) ↗
▸ 787ca465157147c1b4a6 ★ grammar→ldet 5 1 4 steps ldet id:001569 Prism Loupe (Seed) ↗ • Prism Loupe (Crash) ↗
▸ 27e530aa55c2bd54e9c8 ★ grammar→ldet 4 1 3 steps ldet id:001227 Prism Loupe (Seed) ↗ • Prism Loupe (Crash) ↗
▸ 5456755b54797e44ceb7 ★ grammar→ldet 4 1 3 steps ldet id:001223 Prism Loupe (Seed) ↗ • Prism Loupe (Crash) ↗
▸ 2d93520b0cc02e721d76 ★ grammar→ldet 3 1 3 steps ldet id:001209 Prism Loupe (Seed) ↗ • Prism Loupe (Crash) ↗
▸ 2464733c62dd73650441 ★ grammar→ldet 2 1 3 steps ldet id:001221 Prism Loupe (Seed) ↗ • Prism Loupe (Crash) ↗
▸ 8ae0887dda4bbecd2573 ★ grammar→ldet 2 1 3 steps ldet id:001232 Prism Loupe (Seed) ↗ • Prism Loupe (Crash) ↗
▸ 336515698ae70a64eddd ★ grammar→ldet 1 1 3 steps ldet id:001231 Prism Loupe (Seed) ↗ • Prism Loupe (Crash) ↗
▸ 5d70bbb5d4f54c200e3e ★ grammar→ldet 1 1 3 steps ldet id:001208 Prism Loupe (Seed) ↗ • Prism Loupe (Crash) ↗
▸ af5ddc67b75e816c44d8 ★ grammar→ldet 1 1 3 steps ldet id:001207 Prism Loupe (Seed) ↗ • Prism Loupe (Crash) ↗

Source Coverage by File (Originated by grammar)

Standalone coverage from 270 originated inputs. Exclusive source lines (emerald) and branches (sky blue) are shown inline below each file.

Open grammar llvm-cov HTML ↗
File Line Coverage Branch Coverage Region % Function % Gain vs. Corpus Exclusive to grammar
src/prettyprint.c ↗ 87.44% (6,602/7,550) 70.86% (951/1,342) 72.27% 100.00% +399L / +56B
Lines 1462–1470 in prettyprint_node() Open in llvm-cov (#L1464) ↗
1462
                pm_buffer_append_string(output_buffer, "+-- CallNodeFlags:", 18);
1463
                bool found = false;
1464 BR → True (5x)
                if (cast->base.flags & PM_CALL_NODE_FLAGS_SAFE_NAVIGATION) {
1465 LINE 5xBR → False (5x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
1466 LINE 5x
                    pm_buffer_append_string(output_buffer, " safe_navigation", 16);
1467 LINE 5x
                    found = true;
1468 LINE 5x
                }
1469
                if (cast->base.flags & PM_CALL_NODE_FLAGS_VARIABLE_CALL) {
1470
                    if (found) pm_buffer_append_byte(output_buffer, ',');
Lines 4429–4437 in prettyprint_node() Open in llvm-cov (#L4431) ↗
4429
                    found = true;
4430
                }
4431 BR → True (1x)
                if (cast->base.flags & PM_CALL_NODE_FLAGS_IGNORE_VISIBILITY) {
4432 LINE 1xBR → False (1x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
4433 LINE 1x
                    pm_buffer_append_string(output_buffer, " ignore_visibility", 18);
4434 LINE 1x
                    found = true;
4435 LINE 1x
                }
4436
                if (!found) pm_buffer_append_string(output_buffer, " nil", 4);
4437
                pm_buffer_append_byte(output_buffer, '\n');
src/json.c ↗ 82.71% (3,534/4,273) 70.74% (897/1,268) 76.21% 100.00% +203L / +51B
Lines 945–953 in pm_dump_json() Open in llvm-cov (#L947) ↗
945
            size_t flags = 0;
946
            pm_buffer_append_byte(buffer, '[');
947 ((PM_NODE_FLAGS(node_) & (flag_)) != 0) → True (5x)
            if (PM_NODE_FLAG_P(cast, PM_CALL_NODE_FLAGS_SAFE_NAVIGATION)) {
948 LINE 5xBR → False (5x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
949 LINE 5x
                pm_buffer_append_string(buffer, "\"SAFE_NAVIGATION\"", 17);
950 LINE 5x
                flags++;
951 LINE 5x
            }
952
            if (PM_NODE_FLAG_P(cast, PM_CALL_NODE_FLAGS_VARIABLE_CALL)) {
953
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
Lines 2712–2720 in pm_dump_json() Open in llvm-cov (#L2714) ↗
2712
                flags++;
2713
            }
2714 ((PM_NODE_FLAGS(node_) & (flag_)) != 0) → True (1x)
            if (PM_NODE_FLAG_P(cast, PM_CALL_NODE_FLAGS_IGNORE_VISIBILITY)) {
2715 LINE 1xBR → False (1x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
2716 LINE 1x
                pm_buffer_append_string(buffer, "\"IGNORE_VISIBILITY\"", 19);
2717 LINE 1x
                flags++;
2718 LINE 1x
            }
2719
            pm_buffer_append_byte(buffer, ']');
src/prism.c ↗ 74.70% (11,068/14,817) 64.08% (6,534/10,197) 70.60% 89.24% +1,018L / +804B
Lines 18230–18234 in ensure_valid_retry() Open in llvm-cov (#L18232) ↗
18230
            case PM_CONTEXT_BLOCK_BRACES:
18231
            case PM_CONTEXT_BLOCK_KEYWORDS:
18232 BR → True (1x)
            case PM_CONTEXT_BLOCK_PARAMETERS:
18233
            case PM_CONTEXT_CASE_IN:
18234
            case PM_CONTEXT_CASE_WHEN:
Lines 18310–18314 in ensure_valid_yield() Open in llvm-cov (#L18312) ↗
18310
            case PM_CONTEXT_BLOCK_BRACES:
18311
            case PM_CONTEXT_BLOCK_KEYWORDS:
18312 BR → True (1x)
            case PM_CONTEXT_BLOCK_ELSE:
18313
            case PM_CONTEXT_BLOCK_ENSURE:
18314
            case PM_CONTEXT_BLOCK_PARAMETERS:
Lines 18328–18340 in ensure_valid_yield() Open in llvm-cov (#L18330) ↗
18328
            case PM_CONTEXT_LAMBDA_ENSURE:
18329
            case PM_CONTEXT_LAMBDA_RESCUE:
18330 BR → True (1x)
            case PM_CONTEXT_LOOP_PREDICATE:
18331 BR → True (1x)
            case PM_CONTEXT_MULTI_TARGET:
18332
            case PM_CONTEXT_PARENS:
18333
            case PM_CONTEXT_POSTEXE:
18334
            case PM_CONTEXT_PREDICATE:
18335 BR → True (15x)
            case PM_CONTEXT_PREEXE:
18336
            case PM_CONTEXT_RESCUE_MODIFIER:
18337
            case PM_CONTEXT_TERNARY:
18338 BR → True (1x)
            case PM_CONTEXT_UNLESS:
18339
            case PM_CONTEXT_UNTIL:
18340
            case PM_CONTEXT_WHILE:
src/tokens.c ↗ 64.08% (223/348) 79.21% (282/356) 53.62% 100.00% +208L / +104B 0
src/node.c ↗ 94.83% (2,221/2,342) 74.73% (695/930) 73.40% 93.33% +118L / +31B 0
src/serialize.c ↗ 82.86% (1,939/2,340) 93.71% (745/795) 91.24% 94.44% +89L / +19B 0
src/regexp.c ↗ 27.90% (284/1,018) 19.18% (155/808) 24.51% 65.71% +50L / +22B 0
src/errors_format.c ↗ 86.28% (283/328) 76.80% (149/194) 77.60% 100.00% +25L / +21B 0
src/line_offset_list.c ↗ 90.38% (47/52) 91.67% (11/12) 92.00% 80.00% +14L / +5B 0
src/static_literals.c ↗ 22.59% (82/363) 26.48% (76/287) 19.39% 47.06% +13L / +21B 0
src/parser.c ↗ 66.67% (8/12) 25.00% (1/4) 42.86% 100.00% +3L / +0B 0
src/stringy.c ↗ 100.00% (26/26) 75.00% (6/8) 75.00% 100.00% +2L / +1B 0
src/strpbrk.c ↗ 40.12% (67/167) 23.91% (22/92) 31.74% 44.44% +1L / +3B 0
include/prism/compiler/stack.h ↗ 21.74% (5/23) — 100.00% 100.00% — 0
include/prism/constant_pool.h ↗ 0.00% (0/3) — 0.00% 0.00% — 0
include/prism/integer.h ↗ 75.00% (9/12) 50.00% (1/2) 80.00% 100.00% — 0
include/prism/internal/arena.h ↗ 20.83% (10/48) 0.00% (0/10) 10.00% 50.00% — 0
include/prism/internal/bignum.h ↗ 7.92% (8/101) 5.41% (4/74) 6.08% 11.11% +0L / +1B 0
include/prism/internal/char.h ↗ 0.00% (0/13) — 0.00% 0.00% — 0
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) — 100.00% 100.00% — 0
include/prism/internal/integer.h ↗ 100.00% (6/6) 75.00% (3/4) 87.50% 100.00% — 0
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) — 0.00% 0.00% — 0
include/prism/internal/node.h ↗ 0.00% (0/7) — 0.00% 0.00% — 0
include/prism/internal/parser.h ↗ 100.00% (5/5) 50.00% (1/2) 75.00% 100.00% — 0
src/arena.c ↗ 89.13% (41/46) 37.50% (9/24) 57.35% 100.00% — 0
src/bignum.c ↗ 0.00% (0/70) 0.00% (0/22) 0.00% 0.00% — 0
src/buffer.c ↗ 69.64% (156/224) 55.34% (57/103) 59.12% 91.67% — 0
src/char.c ↗ 70.79% (63/89) 55.00% (22/40) 65.85% 66.67% +0L / +1B 0
src/comments.c ↗ 0.00% (0/224) 0.00% (0/136) 0.00% 0.00% — 0
src/constant_pool.c ↗ 86.71% (150/173) 70.51% (55/78) 74.27% 100.00% — 0
src/diagnostic.c ↗ 89.83% (53/59) 50.00% (8/16) 63.33% 100.00% — 0
src/double.c ↗ 21.21% (49/231) 25.24% (53/210) 19.15% 16.67% +0L / +3B 0
src/encoding.c ↗ 4.02% (21/522) 1.18% (14/1,190) 2.06% 8.33% — 0
src/integer.c ↗ 15.48% (50/323) 10.82% (25/231) 12.96% 38.89% — 0
src/list.c ↗ 100.00% (12/12) 100.00% (2/2) 100.00% 100.00% — 0
src/memchr.c ↗ 31.58% (6/19) 8.33% (1/12) 25.00% 100.00% — 0
src/options.c ↗ 38.66% (46/119) 21.43% (9/42) 34.58% 55.00% — 0
src/strncasecmp.c ↗ 0.00% (0/16) 0.00% (0/12) 0.00% 0.00% — 0
src/xxh3.c ↗ 56.93% (78/137) 68.75% (22/32) 61.73% 53.85% — 0

msan

afl-fuzz -t 250+ -x ./test/fuzz/dict -G 1024 -i /tmp/afl-tmpdir/msan/seeds -o ./tmp/fuzz/afl -S msan -p fast -- ./build/fuzz.msan

Schedule: fast Stability: 100.00% Samples: 20 Worker llvm-cov HTML ↗
AFL++ Map Coverage
75.79%
12,934 / 17,065 edges
Source Coverage (Originated)
89.97%
32,511 lines • 77.11% branches (+4,578L / +2,948B vs corpus)
Exclusive to msan
+22L / +14B
lines & branches not hit by any other origin
Throughput
8,205/s
1.26M total execs
Corpus Queue
10,554
+4,883 local, 5,618 synced
Pending (Fav / Total)
1,747
of 10,215 unfuzzed
Cycles / Max Depth
0
max depth 5
Crashes / Hangs
449 / 0
Peak RSS: 27 MB
Sync to main
+142 (2.5%)
5,667 tested • cursor 7,154/10,554 (68%)
Sync from main
28%
cursor 4,181 / 14,703 in main

Coverage & Edges Discovered

Instrumented edges reached (out of 17,065 total)

edges_found 12,934
10,978 11,503 12,029 12,554 13,079 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s edges_found

Map Density (%)

Bitmap coverage percentage over time (map_size)

map_size 75.79%
64.33% 67.41% 70.48% 73.56% 76.64% 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s map_size

Queue & Pending Corpus

Total queue size vs. pending unfuzzed and pending favored items

corpus_count 10.6K pending_total 10.2K pending_favs 1,747
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count pending_total pending_favs

Queue Origin Breakdown (Local vs. Synced)

Total queue split into locally mutated finds, foreign synced imports, and initial seeds

corpus_count 10.6K local_finds 4,883 synced_imports 5,618 initial_seeds 53
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count local_finds synced_imports initial_seeds

Synced Imports by Source Fuzzer

Which foreign fuzzers contributed synced queue entries to msan over time

from main 1,487 from ldet 4,131
0 1,250 2,500 3,750 5,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s from main from ldet

Execution Speed (execs/sec)

Target executions per second over time

execs_per_sec 1392.67/s
0/s 12.5K/s 25K/s 37.5K/s 50K/s 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s execs_per_sec

Cumulative Executions

Total executions completed by msan

total_execs 1.26M
0 500K 1M 1.5M 2M 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s total_execs

Crashes, Hangs & Queue Depth

Saved crashes, saved hangs, cycles done, and max mutation depth

saved_crashes 449 saved_hangs 0 max_depth 5 cycles_done 0
0 125 250 375 500 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s saved_crashes saved_hangs max_depth cycles_done

Crash Lineage Involving msan (449 Direct Crashes • 1 Forwarded to Peers)

Pathways where msan either discovered the crash directly or mutated/forwarded an ancestor queue item that later crashed in another worker.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ corpus→main-7→main→msan
405 (90.0%)
1 1 6 steps heredoc_percent_q_newline_delimiter.txt.rb (405) Prism Loupe ↗
▸ corpus→msan
24 (5.3%)
19 9 4 steps 3.3-3.3_block_args_in_array_assignment.txt.rb (10) Prism Loupe ↗
▸ corpus→main→msan
9 (2.0%)
3 3 5 steps corpus_ISO-8859-6.rb (4) Prism Loupe ↗
▸ corpus→main→main-7→ldet→msan
5 (1.1%)
2 2 7 steps undef.txt.rb (4) Prism Loupe ↗
▸ corpus→main-7→ldet→msan
5 (1.1%)
1 1 6 steps constants.txt.rb (5) Prism Loupe ↗
▸ corpus→main-9→main→msan
1 (0.2%)
1 1 6 steps keyword_method_names.txt.rb (1) Prism Loupe ↗
▸ corpus→msan→ldet
1 (0.2%)
1 1 5 steps character_literal.txt.rb (1) Prism Loupe ↗

Source Coverage by File (Originated by msan)

Standalone coverage from 5,332 originated inputs. Exclusive source lines (emerald) and branches (sky blue) are shown inline below each file.

Open msan llvm-cov HTML ↗
File Line Coverage Branch Coverage Region % Function % Gain vs. Corpus Exclusive to msan
src/prism.c ↗ 92.06% (13,641/14,817) 79.93% (8,150/10,197) 83.73% 98.15% +2,076L / +1,615B
Lines 2193–2197 in pm_local_is_keyword() Open in llvm-cov (#L2195) ↗
2193
                case 's': KEYWORD("super"); return false;
2194
                case 'u': KEYWORD("undef"); KEYWORD("until"); return false;
2195 memcmp(source, name, length) == 0 → True (1x)
                case 'w': KEYWORD("while"); return false;
2196
                case 'y': KEYWORD("yield"); return false;
2197
                default: return false;
Lines 7773–7797 in parser_lex_magic_comment() Open in llvm-cov (#L7775) ↗
7773
                break;
7774
            case 11:
7775 BR → True (1x)
                if (parser_magic_comment_key_p(key_start, key_length, "warn_indent")) {
7776 LINE 1xBR → True (1x)
                    switch (parser_lex_magic_comment_boolean_value(value_start, value_length)) {
7777 LINE 1xBR → True (1x)
                        case PM_MAGIC_COMMENT_BOOLEAN_VALUE_INVALID:
7778 LINE 1x
                            PM_PARSER_WARN_TOKEN_FORMAT(
7779 LINE 1x
                                parser,
7780 LINE 1x
                                &parser->current,
7781 LINE 1x
                                PM_WARN_INVALID_MAGIC_COMMENT_VALUE,
7782 LINE 1x
                                (int) key_length,
7783 LINE 1x
                                "warn_indent",
7784 LINE 1x
                                (int) value_length,
7785 LINE 1x
                                (const char *) value_start
7786 LINE 1x
                            );
7787 LINE 1x
                            break;
7788 BR → False (1x)
                        case PM_MAGIC_COMMENT_BOOLEAN_VALUE_FALSE:
7789
                            parser->warn_mismatched_indentation = false;
7790
                            break;
7791 BR → False (1x)
                        case PM_MAGIC_COMMENT_BOOLEAN_VALUE_TRUE:
7792
                            parser->warn_mismatched_indentation = true;
7793
                            break;
7794 LINE 1x
                    }
7795 LINE 1x
                }
7796
                break;
7797
            case 21:
src/prettyprint.c ↗ 92.53% (6,986/7,550) 82.04% (1,101/1,342) 83.95% 100.00% +570L / +147B
Lines 1018–1026 in prettyprint_node() Open in llvm-cov (#L1020) ↗
1018
                pm_buffer_append_string(output_buffer, "+-- CallNodeFlags:", 18);
1019
                bool found = false;
1020 BR → True (1x)
                if (cast->base.flags & PM_CALL_NODE_FLAGS_SAFE_NAVIGATION) {
1021 LINE 1xBR → False (1x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
1022 LINE 1x
                    pm_buffer_append_string(output_buffer, " safe_navigation", 16);
1023 LINE 1x
                    found = true;
1024 LINE 1x
                }
1025
                if (cast->base.flags & PM_CALL_NODE_FLAGS_VARIABLE_CALL) {
1026
                    if (found) pm_buffer_append_byte(output_buffer, ',');
Lines 5169–5173 in prettyprint_node() Open in llvm-cov (#L5171) ↗
5169
                }
5170
                if (cast->base.flags & PM_REGULAR_EXPRESSION_FLAGS_ASCII_8BIT) {
5171 BR → True (1x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
5172
                    pm_buffer_append_string(output_buffer, " ascii_8bit", 11);
5173
                    found = true;
Lines 6070–6074 in prettyprint_node() Open in llvm-cov (#L6072) ↗
6070
                }
6071
                if (cast->base.flags & PM_REGULAR_EXPRESSION_FLAGS_EXTENDED) {
6072 BR → True (1x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
6073
                    pm_buffer_append_string(output_buffer, " extended", 9);
6074
                    found = true;
src/json.c ↗ 90.12% (3,851/4,273) 81.62% (1,035/1,268) 86.35% 100.00% +350L / +136B
Lines 661–669 in pm_dump_json() Open in llvm-cov (#L663) ↗
661
            size_t flags = 0;
662
            pm_buffer_append_byte(buffer, '[');
663 ((PM_NODE_FLAGS(node_) & (flag_)) != 0) → True (1x)
            if (PM_NODE_FLAG_P(cast, PM_CALL_NODE_FLAGS_SAFE_NAVIGATION)) {
664 LINE 1xBR → False (1x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
665 LINE 1x
                pm_buffer_append_string(buffer, "\"SAFE_NAVIGATION\"", 17);
666 LINE 1x
                flags++;
667 LINE 1x
            }
668
            if (PM_NODE_FLAG_P(cast, PM_CALL_NODE_FLAGS_VARIABLE_CALL)) {
669
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
Lines 3171–3175 in pm_dump_json() Open in llvm-cov (#L3173) ↗
3171
            }
3172
            if (PM_NODE_FLAG_P(cast, PM_REGULAR_EXPRESSION_FLAGS_ASCII_8BIT)) {
3173 BR → True (1x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
3174
                pm_buffer_append_string(buffer, "\"ASCII_8BIT\"", 12);
3175
                flags++;
Lines 3791–3795 in pm_dump_json() Open in llvm-cov (#L3793) ↗
3791
            }
3792
            if (PM_NODE_FLAG_P(cast, PM_REGULAR_EXPRESSION_FLAGS_EXTENDED)) {
3793 BR → True (1x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
3794
                pm_buffer_append_string(buffer, "\"EXTENDED\"", 10);
3795
                flags++;
src/tokens.c ↗ 89.94% (313/348) 91.85% (327/356) 75.36% 100.00% +296L / +148B 0
src/regexp.c ↗ 76.13% (775/1,018) 64.85% (524/808) 72.01% 94.29% +287L / +233B 0
src/comments.c ↗ 98.21% (220/224) 91.91% (125/136) 92.79% 100.00% +220L / +125B 0
src/double.c ↗ 91.77% (212/231) 74.29% (156/210) 75.68% 100.00% +147L / +91B 0
src/node.c ↗ 97.99% (2,295/2,342) 76.34% (710/930) 75.09% 98.00% +124L / +37B 0
src/serialize.c ↗ 85.68% (2,005/2,340) 96.60% (768/795) 95.55% 100.00% +112L / +33B 0
src/integer.c ↗ 81.11% (262/323) 64.50% (149/231) 63.89% 83.33% +89L / +51B 0
src/encoding.c ↗ 69.54% (363/522) 48.74% (580/1,190) 67.17% 77.78% +77L / +183B 0
src/errors_format.c ↗ 93.90% (308/328) 87.63% (170/194) 86.12% 100.00% +50L / +42B 0
src/strpbrk.c ↗ 88.62% (148/167) 77.17% (71/92) 78.44% 88.89% +43L / +30B 0
src/options.c ↗ 72.27% (86/119) 38.10% (16/42) 59.81% 95.00% +40L / +7B 0
src/bignum.c ↗ 34.29% (24/70) 18.18% (4/22) 22.39% 41.67% +24L / +4B 0
src/line_offset_list.c ↗ 100.00% (52/52) 100.00% (12/12) 100.00% 100.00% +19L / +6B 0
src/buffer.c ↗ 93.30% (209/224) 80.58% (83/103) 76.24% 91.67% +15L / +6B 0
src/static_literals.c ↗ 24.79% (90/363) 29.97% (86/287) 20.66% 47.06% +15L / +26B 0
src/char.c ↗ 100.00% (89/89) 92.50% (37/40) 98.78% 100.00% +9L / +13B 0
include/prism/internal/bignum.h ↗ 71.29% (72/101) 64.86% (48/74) 68.92% 100.00% +6L / +9B 0
src/diagnostic.c ↗ 96.61% (57/59) 56.25% (9/16) 68.33% 100.00% +4L / +1B 0
src/parser.c ↗ 100.00% (12/12) 100.00% (4/4) 100.00% 100.00% +3L / +1B 0
src/stringy.c ↗ 100.00% (26/26) 75.00% (6/8) 75.00% 100.00% +2L / +1B 0
include/prism/compiler/stack.h ↗ 21.74% (5/23) — 100.00% 100.00% — 0
include/prism/constant_pool.h ↗ 0.00% (0/3) — 0.00% 0.00% — 0
include/prism/integer.h ↗ 91.67% (11/12) 100.00% (2/2) 100.00% 100.00% — 0
include/prism/internal/arena.h ↗ 47.92% (23/48) 40.00% (4/10) 65.00% 75.00% — 0
include/prism/internal/char.h ↗ 0.00% (0/13) — 0.00% 0.00% — 0
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) — 100.00% 100.00% — 0
include/prism/internal/integer.h ↗ 100.00% (6/6) 100.00% (4/4) 100.00% 100.00% +0L / +1B 0
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) — 0.00% 0.00% — 0
include/prism/internal/node.h ↗ 0.00% (0/7) — 0.00% 0.00% — 0
include/prism/internal/parser.h ↗ 100.00% (5/5) 50.00% (1/2) 75.00% 100.00% — 0
src/arena.c ↗ 89.13% (41/46) 37.50% (9/24) 57.35% 100.00% — 0
src/constant_pool.c ↗ 97.11% (168/173) 73.08% (57/78) 74.27% 100.00% +0L / +1B 0
src/list.c ↗ 100.00% (12/12) 100.00% (2/2) 100.00% 100.00% — 0
src/memchr.c ↗ 31.58% (6/19) 41.67% (5/12) 40.00% 100.00% — 0
src/strncasecmp.c ↗ 100.00% (16/16) 91.67% (11/12) 94.44% 100.00% +0L / +1B 0
src/xxh3.c ↗ 84.67% (116/137) 81.25% (26/32) 77.78% 92.31% — 0

ldet

afl-fuzz -t 250+ -m 2048 -x ./test/fuzz/dict -G 1024 -i /tmp/afl-tmpdir/ldet/seeds -o ./tmp/fuzz/afl -M ldet -F /tmp/afl-tmpdir/grammar/seeds -p explore -- ./build/fuzz.ldet

Schedule: explore Stability: 99.93% Samples: 20 Worker llvm-cov HTML ↗
AFL++ Map Coverage
16.96%
13,958 / 82,304 edges
Source Coverage (Originated)
92.66%
33,483 lines • 81.36% branches (+4,960L / +3,327B vs corpus)
Exclusive to ldet
+0L / +5B
lines & branches not hit by any other origin
Throughput
18,685/s
2.87M total execs
Corpus Queue
18,746
+3,780 local, 14,913 synced
Pending (Fav / Total)
246
of 15,228 unfuzzed
Cycles / Max Depth
0
max depth 5
Crashes / Hangs
1587 / 0
Peak RSS: 4 MB
Sync to main
+48 (0.4%)
11,879 tested • cursor 11,879/18,746 (63%)
Sync from main
65%
cursor 9,512 / 14,703 in main

Coverage & Edges Discovered

Instrumented edges reached (out of 82,304 total)

edges_found 13,958
12,436 12,845 13,254 13,662 14,071 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s edges_found

Map Density (%)

Bitmap coverage percentage over time (map_size)

map_size 16.96%
15.11% 15.61% 16.10% 16.60% 17.10% 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s map_size

Queue & Pending Corpus

Total queue size vs. pending unfuzzed and pending favored items

corpus_count 18.7K pending_total 15.2K pending_favs 246
0 5,000 10K 15K 20K 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s corpus_count pending_total pending_favs

Queue Origin Breakdown (Local vs. Synced)

Total queue split into locally mutated finds, foreign synced imports, and initial seeds

corpus_count 18.7K local_finds 3,780 synced_imports 14.9K initial_seeds 53
0 5,000 10K 15K 20K 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s corpus_count local_finds synced_imports initial_seeds

Synced Imports by Source Fuzzer

Which foreign fuzzers contributed synced queue entries to ldet over time

from grammar 267 from msan 176 from main-2 970 from main-3 1,661 from main-4 1,056 from main-5 1,049 from main-6 1,855 from main-7 2,616 from main-8 2,416 from main-9 2,847
0 1,250 2,500 3,750 5,000 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s from grammar from msan from main-2 from main-3 from main-4 from main-5 from main-6 from main-7 from main-8 from main-9

Execution Speed (execs/sec)

Target executions per second over time

execs_per_sec 0/s
0/s 25K/s 50K/s 75K/s 100K/s 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s execs_per_sec

Cumulative Executions

Total executions completed by ldet

total_execs 2.87M
0 1.25M 2.5M 3.75M 5M 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s total_execs

Crashes, Hangs & Queue Depth

Saved crashes, saved hangs, cycles done, and max mutation depth

saved_crashes 1,587 saved_hangs 0 max_depth 5 cycles_done 0
0 500 1,000 1,500 2,000 1m 00s 1m 18s 1m 37s 1m 55s 2m 14s 2m 33s saved_crashes saved_hangs max_depth cycles_done

Crash Lineage Involving ldet (1,587 Direct Crashes • 572 Forwarded to Peers)

Pathways where ldet either discovered the crash directly or mutated/forwarded an ancestor queue item that later crashed in another worker.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ ★ grammar→ldet
37 (1.7%)
11 10 4 steps ba92e473b8b537ada9e5 (14) Prism Loupe ↗
▸ corpus→main→main-7→ldet
507 (23.5%)
15 2 7 steps unparser_corpus_semantic_dstr.txt.rb (506) Prism Loupe ↗
▸ corpus→main-6→ldet
390 (18.1%)
33 5 7 steps heredoc_percent_newline_delimiter.txt.rb (371) Prism Loupe ↗
▸ corpus→main-3→ldet
211 (9.8%)
25 5 6 steps unparser_corpus_literal_literal.txt.rb (206) Prism Loupe ↗
▸ corpus→ldet→main-2
173 (8.0%)
78 12 16 steps 3.3-3.3_it.txt.rb (92) Prism Loupe ↗
▸ corpus→main-7→ldet
134 (6.2%)
13 1 7 steps heredoc_percent_q_newline_delimiter.txt.rb (134) Prism Loupe ↗
▸ corpus→main→main-6→ldet
106 (4.9%)
9 2 7 steps strings.txt.rb (105) Prism Loupe ↗
▸ corpus→ldet→main-6
87 (4.0%)
32 9 10 steps 3.3-3.3_it.txt.rb (38) Prism Loupe ↗
▸ corpus→ldet→main-7
71 (3.3%)
45 16 6 steps whitequark_and_asgn.txt.rb (11) Prism Loupe ↗
▸ corpus→ldet→main-8
66 (3.1%)
23 9 9 steps 3.3-3.3_it.txt.rb (51) Prism Loupe ↗
▸ corpus→ldet→main-9
48 (2.2%)
25 7 8 steps whitequark_and_asgn.txt.rb (24) Prism Loupe ↗
▸ corpus→main-8→ldet
44 (2.0%)
23 9 7 steps unparser_corpus_literal_assignment.txt.rb (28) Prism Loupe ↗
▸ corpus→ldet→main-5
39 (1.8%)
29 8 17 steps seattlerb_parse_pattern_058_2.txt.rb (16) Prism Loupe ↗
▸ corpus→ldet→main-4
29 (1.3%)
17 9 8 steps classes.txt.rb (14) Prism Loupe ↗
▸ corpus→ldet→main-3
28 (1.3%)
21 7 15 steps classes.txt.rb (20) Prism Loupe ↗
▸ corpus→main→main-2→ldet
26 (1.2%)
13 4 8 steps heredoc_percent_newline_delimiter.txt.rb (12) Prism Loupe ↗
▸ corpus→ldet
23 (1.1%)
4 1 4 steps 3.3-3.3_it.txt.rb (23) Prism Loupe ↗
▸ corpus→main-4→ldet
19 (0.9%)
12 8 7 steps pattern_many_captures.txt.rb (9) Prism Loupe ↗
▸ corpus→main-5→ldet
19 (0.9%)
8 3 7 steps regex.txt.rb (16) Prism Loupe ↗
▸ corpus→main-9→ldet
18 (0.8%)
13 8 7 steps dash_heredocs.txt.rb (8) Prism Loupe ↗
▸ corpus→main→main-3→ldet
16 (0.7%)
7 6 6 steps seattlerb_symbol_list.txt.rb (6) Prism Loupe ↗
▸ corpus→main→main-5→ldet
12 (0.6%)
9 7 6 steps whitequark_dedenting_heredoc.txt.rb (5) Prism Loupe ↗
▸ corpus→ldet→main-2→ldet
9 (0.4%)
4 2 8 steps classes.txt.rb (6) Prism Loupe ↗
▸ corpus→ldet→main-5→ldet
8 (0.4%)
4 2 8 steps classes.txt.rb (7) Prism Loupe ↗
▸ corpus→main→main-8→ldet→main-2
6 (0.3%)
2 2 15 steps endless_method_rescue_modifier.txt.rb (5) Prism Loupe ↗
▸ corpus→main→main-7→ldet→msan
5 (0.2%)
2 2 7 steps undef.txt.rb (4) Prism Loupe ↗
▸ corpus→main-7→ldet→msan
5 (0.2%)
1 1 6 steps constants.txt.rb (5) Prism Loupe ↗
▸ corpus→main→main-8→ldet→main-5
3 (0.1%)
1 1 11 steps endless_method_rescue_modifier.txt.rb (3) Prism Loupe ↗
▸ corpus→main-7→ldet→main-8
3 (0.1%)
3 3 8 steps string_concatination_frozen_true.txt.rb (1) Prism Loupe ↗
▸ corpus→main→main-4→ldet
3 (0.1%)
3 3 7 steps seattlerb_TestRubyParserShared.txt.rb (1) Prism Loupe ↗
▸ corpus→main→main-7→ldet→main-8
2 (0.1%)
2 2 6 steps whitequark_pattern_matching_hash.txt.rb (1) Prism Loupe ↗
▸ corpus→main-3→ldet→main-6
2 (0.1%)
1 1 7 steps unparser_corpus_literal_literal.txt.rb (2) Prism Loupe ↗
▸ corpus→main-6→ldet→main-9
2 (0.1%)
2 1 13 steps 3.3-3.3_return_in_sclass.txt.rb (2) Prism Loupe ↗
▸ corpus→ldet→main-3→ldet
2 (0.1%)
2 2 6 steps classes.txt.rb (1) Prism Loupe ↗
▸ corpus→main-6→ldet→main-2
1 (0.0%)
1 1 12 steps 3.3-3.3_return_in_sclass.txt.rb (1) Prism Loupe ↗
▸ corpus→main-6→ldet→main-5
1 (0.0%)
1 1 12 steps 3.3-3.3_return_in_sclass.txt.rb (1) Prism Loupe ↗
▸ corpus→main-7→ldet→main-4
1 (0.0%)
1 1 6 steps case.txt.rb (1) Prism Loupe ↗
▸ corpus→main-7→ldet→main-4→ldet
1 (0.0%)
1 1 8 steps case.txt.rb (1) Prism Loupe ↗
▸ corpus→main→main-8→ldet
1 (0.0%)
1 1 6 steps 3.3-3.3_block_args_in_array_assignment.txt.rb (1) Prism Loupe ↗
▸ corpus→msan→ldet
1 (0.0%)
1 1 5 steps character_literal.txt.rb (1) Prism Loupe ↗

Source Coverage by File (Originated by ldet)

Standalone coverage from 5,381 originated inputs. Exclusive source lines (emerald) and branches (sky blue) are shown inline below each file.

Open ldet llvm-cov HTML ↗
File Line Coverage Branch Coverage Region % Function % Gain vs. Corpus Exclusive to ldet
src/prism.c ↗ 95.11% (14,093/14,817) 84.74% (8,641/10,197) 87.34% 98.66% +2,268L / +1,824B
Lines 2179–2183 in pm_local_is_keyword() Open in llvm-cov (#L2181) ↗
2179
                case 'r': KEYWORD("redo"); return false;
2180
                case 's': KEYWORD("self"); return false;
2181 memcmp(source, name, length) == 0 → True (1x)
                case 't': KEYWORD("then");  KEYWORD("true"); return false;
2182
                case 'w': KEYWORD("when"); return false;
2183
                default: return false;
Lines 16655–16659 in parse_alias_argument() Open in llvm-cov (#L16657) ↗
16655
        case PM_CASE_OPERATOR:
16656
            return parse_operator_symbol(parser, NULL, first ? PM_LEX_STATE_FNAME | PM_LEX_STATE_FITEM : PM_LEX_STATE_NONE);
16657 case PM_TOKEN_KEYWORD_DO_LOOP → True (1x)
        case PM_CASE_KEYWORD:
16658
        case PM_TOKEN_CONSTANT:
16659
        case PM_TOKEN_IDENTIFIER:
Lines 18313–18317 in ensure_valid_yield() Open in llvm-cov (#L18315) ↗
18313
            case PM_CONTEXT_BLOCK_ENSURE:
18314
            case PM_CONTEXT_BLOCK_PARAMETERS:
18315 BR → True (1x)
            case PM_CONTEXT_BLOCK_RESCUE:
18316
            case PM_CONTEXT_CASE_IN:
18317
            case PM_CONTEXT_CASE_WHEN:
Lines 18337–18341 in ensure_valid_yield() Open in llvm-cov (#L18339) ↗
18337
            case PM_CONTEXT_TERNARY:
18338
            case PM_CONTEXT_UNLESS:
18339 BR → True (2x)
            case PM_CONTEXT_UNTIL:
18340
            case PM_CONTEXT_WHILE:
18341
                // In these contexts we should continue walking up the list of
Lines 19770–19774 in parse_lambda() Open in llvm-cov (#L19772) ↗
19770
            break;
19771
        }
19772 case PM_TOKEN_UDOT_DOT_DOT → True (1x)
        case PM_CASE_PARAMETER: {
19773
            block_parameters = parse_block_parameters(parser, false, NULL, true, false, (uint16_t) (depth + 1));
19774
            break;
src/prettyprint.c ↗ 94.01% (7,098/7,550) 80.70% (1,083/1,342) 82.18% 100.00% +540L / +98B 0
src/regexp.c ↗ 85.17% (867/1,018) 77.23% (624/808) 82.00% 97.14% +369L / +322B 0
src/json.c ↗ 90.24% (3,856/4,273) 80.44% (1,020/1,268) 85.33% 100.00% +301L / +92B 0
src/tokens.c ↗ 91.38% (318/348) 92.42% (329/356) 76.81% 100.00% +301L / +150B 0
src/comments.c ↗ 98.21% (220/224) 91.18% (124/136) 92.79% 100.00% +220L / +124B 0
src/encoding.c ↗ 81.03% (423/522) 56.22% (669/1,190) 75.65% 100.00% +152L / +294B 0
src/double.c ↗ 91.77% (212/231) 76.19% (160/210) 75.99% 100.00% +147L / +95B 0
src/node.c ↗ 99.40% (2,328/2,342) 77.85% (724/930) 76.00% 99.33% +139L / +36B 0
src/serialize.c ↗ 87.69% (2,052/2,340) 97.99% (779/795) 97.13% 100.00% +124L / +34B 0
src/static_literals.c ↗ 62.81% (228/363) 58.89% (169/287) 48.47% 88.24% +95L / +74B 0
src/integer.c ↗ 81.11% (262/323) 65.37% (151/231) 64.12% 83.33% +89L / +53B 0
src/strpbrk.c ↗ 98.20% (164/167) 90.22% (83/92) 88.62% 100.00% +49L / +36B 0
src/errors_format.c ↗ 92.99% (305/328) 86.08% (167/194) 85.17% 100.00% +47L / +39B 0
src/options.c ↗ 72.27% (86/119) 38.10% (16/42) 59.81% 95.00% +40L / +7B 0
src/bignum.c ↗ 34.29% (24/70) 18.18% (4/22) 22.39% 41.67% +24L / +4B 0
src/line_offset_list.c ↗ 100.00% (52/52) 100.00% (12/12) 100.00% 100.00% +19L / +6B 0
src/char.c ↗ 100.00% (89/89) 92.50% (37/40) 97.56% 100.00% +9L / +13B 0
include/prism/internal/bignum.h ↗ 78.22% (79/101) 75.68% (56/74) 76.35% 100.00% +7L / +13B 0
src/buffer.c ↗ 89.73% (201/224) 79.61% (82/103) 75.14% 91.67% +7L / +5B 0
src/memchr.c ↗ 100.00% (19/19) 100.00% (12/12) 100.00% 100.00% +4L / +2B 0
src/xxh3.c ↗ 87.59% (120/137) 84.38% (27/32) 80.25% 100.00% +4L / +1B 0
src/parser.c ↗ 100.00% (12/12) 100.00% (4/4) 100.00% 100.00% +3L / +1B 0
src/stringy.c ↗ 100.00% (26/26) 75.00% (6/8) 75.00% 100.00% +2L / +1B 0
include/prism/compiler/stack.h ↗ 21.74% (5/23) — 100.00% 100.00% — 0
include/prism/constant_pool.h ↗ 0.00% (0/3) — 0.00% 0.00% — 0
include/prism/integer.h ↗ 91.67% (11/12) 100.00% (2/2) 100.00% 100.00% — 0
include/prism/internal/arena.h ↗ 47.92% (23/48) 40.00% (4/10) 65.00% 75.00% — 0
include/prism/internal/char.h ↗ 0.00% (0/13) — 0.00% 0.00% — 0
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) — 100.00% 100.00% — 0
include/prism/internal/integer.h ↗ 100.00% (6/6) 100.00% (4/4) 100.00% 100.00% +0L / +1B 0
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) — 0.00% 0.00% — 0
include/prism/internal/node.h ↗ 0.00% (0/7) — 0.00% 0.00% — 0
include/prism/internal/parser.h ↗ 100.00% (5/5) 50.00% (1/2) 75.00% 100.00% — 0
src/arena.c ↗ 89.13% (41/46) 37.50% (9/24) 57.35% 100.00% — 0
src/constant_pool.c ↗ 98.84% (171/173) 78.21% (61/78) 77.78% 100.00% +0L / +1B 0
src/diagnostic.c ↗ 89.83% (53/59) 50.00% (8/16) 63.33% 100.00% — 0
src/list.c ↗ 100.00% (12/12) 100.00% (2/2) 100.00% 100.00% — 0
src/strncasecmp.c ↗ 100.00% (16/16) 91.67% (11/12) 94.44% 100.00% +0L / +1B 0

main-2

afl-fuzz -t 250+ -m none -x ./test/fuzz/dict -G 1024 -i /tmp/afl-tmpdir/main-2/seeds -o ./tmp/fuzz/afl -S main-2 -p explore -P explore -L 0 -w ./build/fuzz.sand -- ./build/fuzz.native

Schedule: explore Stability: 100.00% Samples: 20 Worker llvm-cov HTML ↗
AFL++ Map Coverage
72.72%
12,130 / 16,681 edges
Source Coverage (Originated)
94.65%
34,202 lines • 87.64% branches (+5,609L / +4,306B vs corpus)
Exclusive to main-2
+7L / +12B
lines & branches not hit by any other origin
Throughput
55,861/s
8.6M total execs
Corpus Queue
18,675
+13,983 local, 4,639 synced
Pending (Fav / Total)
739
of 10,575 unfuzzed
Cycles / Max Depth
1
max depth 24
Crashes / Hangs
1534 / 0
Peak RSS: 4 MB
Sync to main
+738 (5.1%)
14,382 tested • cursor 15,552/18,675 (83%)
Sync from main
100%
cursor 14,650 / 14,703 in main

Coverage & Edges Discovered

Instrumented edges reached (out of 16,681 total)

edges_found 12,130
10,993 11,298 11,604 11,909 12,214 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s edges_found

Map Density (%)

Bitmap coverage percentage over time (map_size)

map_size 72.72%
65.89% 67.73% 69.56% 71.39% 73.23% 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s map_size

Queue & Pending Corpus

Total queue size vs. pending unfuzzed and pending favored items

corpus_count 18.7K pending_total 10.6K pending_favs 739
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count pending_total pending_favs

Queue Origin Breakdown (Local vs. Synced)

Total queue split into locally mutated finds, foreign synced imports, and initial seeds

corpus_count 18.7K local_finds 14K synced_imports 4,639 initial_seeds 53
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count local_finds synced_imports initial_seeds

Synced Imports by Source Fuzzer

Which foreign fuzzers contributed synced queue entries to main-2 over time

from main 1,422 from ldet 3,217
0 1,250 2,500 3,750 5,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s from main from ldet

Execution Speed (execs/sec)

Target executions per second over time

execs_per_sec 32.4K/s
0/s 25K/s 50K/s 75K/s 100K/s 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s execs_per_sec

Cumulative Executions

Total executions completed by main-2

total_execs 8.6M
0 2.5M 5M 7.5M 10M 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s total_execs

Crashes, Hangs & Queue Depth

Saved crashes, saved hangs, cycles done, and max mutation depth

saved_crashes 1,534 saved_hangs 0 max_depth 24 cycles_done 1
0 500 1,000 1,500 2,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s saved_crashes saved_hangs max_depth cycles_done

Crash Lineage Involving main-2 (1,534 Direct Crashes • 35 Forwarded to Peers)

Pathways where main-2 either discovered the crash directly or mutated/forwarded an ancestor queue item that later crashed in another worker.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ corpus→main→main-2
906 (57.7%)
202 47 13 steps heredoc_percent_newline_delimiter.txt.rb (474) Prism Loupe ↗
▸ corpus→main-2
433 (27.6%)
82 16 25 steps seattlerb_heredoc_nested.txt.rb (279) Prism Loupe ↗
▸ corpus→ldet→main-2
173 (11.0%)
78 12 16 steps 3.3-3.3_it.txt.rb (92) Prism Loupe ↗
▸ corpus→main→main-2→ldet
26 (1.7%)
13 4 8 steps heredoc_percent_newline_delimiter.txt.rb (12) Prism Loupe ↗
▸ corpus→main-7→main→main-2
15 (1.0%)
10 3 11 steps constants.txt.rb (8) Prism Loupe ↗
▸ corpus→ldet→main-2→ldet
9 (0.6%)
4 2 8 steps classes.txt.rb (6) Prism Loupe ↗
▸ corpus→main→main-8→ldet→main-2
6 (0.4%)
2 2 15 steps endless_method_rescue_modifier.txt.rb (5) Prism Loupe ↗
▸ corpus→main-6→ldet→main-2
1 (0.1%)
1 1 12 steps 3.3-3.3_return_in_sclass.txt.rb (1) Prism Loupe ↗

Source Coverage by File (Originated by main-2)

Standalone coverage from 15,521 originated inputs. Exclusive source lines (emerald) and branches (sky blue) are shown inline below each file.

Open main-2 llvm-cov HTML ↗
File Line Coverage Branch Coverage Region % Function % Gain vs. Corpus Exclusive to main-2
src/prism.c ↗ 97.25% (14,410/14,817) 89.75% (9,152/10,197) 89.81% 99.33% +2,550L / +2,283B
Lines 7827–7833 in parser_lex_magic_comment() Open in llvm-cov (#L7829) ↗
7827
                if (parser_magic_comment_key_p(key_start, key_length, "shareable_constant_value")) {
7828
                    const uint8_t *cursor = parser->current.start;
7829 BR → False (8x)
                    while ((cursor > parser->start) && ((cursor[-1] == ' ') || (cursor[-1] == '\t'))) cursor--;
7831 BR → True (8x)
                    if (!((cursor == parser->start) || (cursor[-1] == '\n'))) {
7832
                        pm_parser_warn_token(parser, &parser->current, PM_WARN_SHAREABLE_CONSTANT_VALUE_LINE);
7833
                    } else if (value_length == 4 && pm_strncasecmp(value_start, (const uint8_t *) "none", 4) == 0) {
Lines 11955–11959 in parser_lex() Open in llvm-cov (#L11957) ↗
11955
                                    // enumerated here.
11956
                                    switch (peeked) {
11957 BR → True (4x)
                                        case '$': case ')': case '*': case '+':
11958
                                        case '.': case '>': case '?': case ']':
11959
                                        case '^': case '|': case '}':
Lines 12582–12590 in parser_lex() Open in llvm-cov (#L12584) ↗
12582
                                         * token, and the continued line is not
12583
                                         * dedented, so it stays in this token. */
12584 BR → True (4x)
                                        if (heredoc_lex_mode->indent == PM_HEREDOC_INDENT_TILDE) {
12585 LINE 4x
                                            parser->current.end = parser->next_start;
12586 LINE 4x
                                            parser->next_start = NULL;
12587 LINE 4x
                                            break;
12588 LINE 4x
                                        }
12590
                                        pm_token_buffer_copy(parser, &token_buffer);
src/regexp.c ↗ 93.61% (953/1,018) 88.37% (714/808) 90.29% 97.14% +452L / +407B
Lines 358–362 in pm_regexp_parse_range_quantifier() Open in llvm-cov (#L360) ↗
358
            case PM_REGEXP_RANGE_QUANTIFIER_STATE_COMMA:
359
                switch (*parser->cursor) {
360 case '3' → True (1x)case '7' → True (1x)
                    case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9':
361
                        parser->cursor++;
362
                        state = PM_REGEXP_RANGE_QUANTIFIER_STATE_MAXIMUM;
Lines 1206–1212 in pm_regexp_parse_group() Open in llvm-cov (#L1208) ↗
1206
                if (*parser->cursor == ')') {
1207
                    switch (pm_regexp_options_state(&options, 'x')) {
1208 LINE 3xBR → True (3x)
                        case PM_REGEXP_OPTION_STATE_ADDED:
1209 LINE 3x
                            parser->extended_mode = true;
1210 LINE 3x
                            break;
1211
                        case PM_REGEXP_OPTION_STATE_REMOVED:
1212
                            parser->extended_mode = false;
src/encoding.c ↗ 95.98% (501/522) 89.58% (1,066/1,190) 94.91% 100.00% +206L / +569B
Lines 2261–2265 in pm_encoding_euc_jp_char_width() Open in llvm-cov (#L2263) ↗
2262
    // These are the triple byte characters.
2263 BR → False (1x)
    if ((n > 2) && (b[0] == 0x8F) && (b[1] >= 0xA1 && b[1] <= 0xFE) && (b[2] >= 0xA1 && b[2] <= 0xFE)) {
2264
        return 3;
2265
    }
Lines 2423–2427 in pm_encoding_emacs_mule_char_width() Open in llvm-cov (#L2425) ↗
2423
        (
2424
            ((b[0] >= 0x90 && b[0] <= 0x99) && (b[1] >= 0xA0)) ||
2425 b[1] >= 0xE0 → True (10x)b[1] <= 0xEF → True (9x)b[1] <= 0xEF → False (1x)
            ((b[0] == 0x9A || b[0] == 0x9B) && (b[1] >= 0xE0 && b[1] <= 0xEF))
2426
        ) &&
2427
        (b[2] >= 0xA0)
src/arena.c ↗ 93.48% (43/46) 50.00% (12/24) 67.65% 100.00% +2L / +3B
Lines 38–42 in pm_arena_next_block_size() Open in llvm-cov (#L40) ↗
38
    }
39

40 BR → False (2x)
    return size > min_size ? size : min_size;
41
}
42

src/prettyprint.c ↗ 94.98% (7,171/7,550) 83.90% (1,126/1,342) 85.19% 100.00% +609L / +139B 0
src/json.c ↗ 91.74% (3,920/4,273) 83.68% (1,061/1,268) 87.56% 100.00% +361L / +131B 0
src/tokens.c ↗ 94.25% (328/348) 93.82% (334/356) 79.23% 100.00% +311L / +155B 0
src/comments.c ↗ 100.00% (224/224) 94.85% (129/136) 94.59% 100.00% +224L / +129B 0
src/double.c ↗ 95.67% (221/231) 80.95% (170/210) 77.51% 100.00% +156L / +104B 0
src/static_literals.c ↗ 75.76% (275/363) 70.03% (201/287) 60.46% 94.12% +142L / +106B 0
src/node.c ↗ 99.40% (2,328/2,342) 78.28% (728/930) 76.12% 99.33% +139L / +40B 0
src/serialize.c ↗ 87.82% (2,055/2,340) 98.36% (782/795) 97.56% 100.00% +127L / +37B 0
src/integer.c ↗ 81.11% (262/323) 68.83% (159/231) 65.51% 83.33% +89L / +61B 0
src/errors_format.c ↗ 93.90% (308/328) 87.63% (170/194) 86.12% 100.00% +50L / +42B 0
src/strpbrk.c ↗ 98.80% (165/167) 91.30% (84/92) 89.82% 100.00% +50L / +37B 0
src/options.c ↗ 72.27% (86/119) 38.10% (16/42) 59.81% 95.00% +40L / +7B 0
src/bignum.c ↗ 34.29% (24/70) 18.18% (4/22) 22.39% 41.67% +24L / +4B 0
src/buffer.c ↗ 95.09% (213/224) 81.55% (84/103) 78.45% 95.83% +19L / +7B 0
src/line_offset_list.c ↗ 100.00% (52/52) 100.00% (12/12) 100.00% 100.00% +19L / +6B 0
src/char.c ↗ 100.00% (89/89) 95.00% (38/40) 98.78% 100.00% +9L / +14B 0
include/prism/internal/bignum.h ↗ 78.22% (79/101) 75.68% (56/74) 76.35% 100.00% +7L / +13B 0
include/prism/internal/arena.h ↗ 60.42% (29/48) 70.00% (7/10) 90.00% 75.00% +6L / +3B 0
src/diagnostic.c ↗ 96.61% (57/59) 56.25% (9/16) 68.33% 100.00% +4L / +1B 0
src/memchr.c ↗ 100.00% (19/19) 100.00% (12/12) 100.00% 100.00% +4L / +2B 0
src/xxh3.c ↗ 87.59% (120/137) 84.38% (27/32) 80.25% 100.00% +4L / +1B 0
src/parser.c ↗ 100.00% (12/12) 100.00% (4/4) 100.00% 100.00% +3L / +1B 0
src/stringy.c ↗ 100.00% (26/26) 75.00% (6/8) 75.00% 100.00% +2L / +1B 0
include/prism/compiler/stack.h ↗ 21.74% (5/23) — 100.00% 100.00% — 0
include/prism/constant_pool.h ↗ 0.00% (0/3) — 0.00% 0.00% — 0
include/prism/integer.h ↗ 91.67% (11/12) 100.00% (2/2) 100.00% 100.00% — 0
include/prism/internal/char.h ↗ 0.00% (0/13) — 0.00% 0.00% — 0
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) — 100.00% 100.00% — 0
include/prism/internal/integer.h ↗ 100.00% (6/6) 100.00% (4/4) 100.00% 100.00% +0L / +1B 0
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) — 0.00% 0.00% — 0
include/prism/internal/node.h ↗ 0.00% (0/7) — 0.00% 0.00% — 0
include/prism/internal/parser.h ↗ 100.00% (5/5) 50.00% (1/2) 75.00% 100.00% — 0
src/constant_pool.c ↗ 98.84% (171/173) 78.21% (61/78) 77.78% 100.00% +0L / +1B 0
src/list.c ↗ 100.00% (12/12) 100.00% (2/2) 100.00% 100.00% — 0
src/strncasecmp.c ↗ 100.00% (16/16) 91.67% (11/12) 94.44% 100.00% +0L / +1B 0

main-3

afl-fuzz -t 250+ -m none -x ./test/fuzz/dict -G 1024 -i /tmp/afl-tmpdir/main-3/seeds -o ./tmp/fuzz/afl -S main-3 -p fast -a text -Z -w ./build/fuzz.sand -- ./build/fuzz.native

Schedule: fast Stability: 100.00% Samples: 20 Worker llvm-cov HTML ↗
AFL++ Map Coverage
72.11%
12,028 / 16,681 edges
Source Coverage (Originated)
94.43%
34,121 lines • 87.31% branches (+5,563L / +4,269B vs corpus)
Exclusive to main-3
+8L / +15B
lines & branches not hit by any other origin
Throughput
49,519/s
7.62M total execs
Corpus Queue
17,883
+13,075 local, 4,755 synced
Pending (Fav / Total)
749
of 12,310 unfuzzed
Cycles / Max Depth
11
max depth 14
Crashes / Hangs
1274 / 0
Peak RSS: 4 MB
Sync to main
+1,439 (9.7%)
14,828 tested • cursor 15,577/17,883 (87%)
Sync from main
99%
cursor 14,624 / 14,703 in main

Coverage & Edges Discovered

Instrumented edges reached (out of 16,681 total)

edges_found 12,028
10,755 11,097 11,439 11,780 12,122 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s edges_found

Map Density (%)

Bitmap coverage percentage over time (map_size)

map_size 72.11%
64.47% 66.52% 68.58% 70.63% 72.68% 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s map_size

Queue & Pending Corpus

Total queue size vs. pending unfuzzed and pending favored items

corpus_count 17.9K pending_total 12.3K pending_favs 749
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count pending_total pending_favs

Queue Origin Breakdown (Local vs. Synced)

Total queue split into locally mutated finds, foreign synced imports, and initial seeds

corpus_count 17.9K local_finds 13.1K synced_imports 4,755 initial_seeds 53
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count local_finds synced_imports initial_seeds

Synced Imports by Source Fuzzer

Which foreign fuzzers contributed synced queue entries to main-3 over time

from main 1,102 from ldet 3,653
0 1,250 2,500 3,750 5,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s from main from ldet

Execution Speed (execs/sec)

Target executions per second over time

execs_per_sec 45.8K/s
0/s 25K/s 50K/s 75K/s 100K/s 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s execs_per_sec

Cumulative Executions

Total executions completed by main-3

total_execs 7.62M
0 2.5M 5M 7.5M 10M 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s total_execs

Crashes, Hangs & Queue Depth

Saved crashes, saved hangs, cycles done, and max mutation depth

saved_crashes 1,274 saved_hangs 0 max_depth 14 cycles_done 11
0 500 1,000 1,500 2,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s saved_crashes saved_hangs max_depth cycles_done

Crash Lineage Involving main-3 (1,274 Direct Crashes • 231 Forwarded to Peers)

Pathways where main-3 either discovered the crash directly or mutated/forwarded an ancestor queue item that later crashed in another worker.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ corpus→main→main-3
713 (47.4%)
126 52 13 steps unparser_corpus_semantic_dstr.txt.rb (196) Prism Loupe ↗
▸ corpus→main-3
533 (35.4%)
81 16 13 steps unparser_corpus_literal_literal.txt.rb (409) Prism Loupe ↗
▸ corpus→main-3→ldet
211 (14.0%)
25 5 6 steps unparser_corpus_literal_literal.txt.rb (206) Prism Loupe ↗
▸ corpus→ldet→main-3
28 (1.9%)
21 7 15 steps classes.txt.rb (20) Prism Loupe ↗
▸ corpus→main→main-3→ldet
16 (1.1%)
7 6 6 steps seattlerb_symbol_list.txt.rb (6) Prism Loupe ↗
▸ corpus→main-3→ldet→main-6
2 (0.1%)
1 1 7 steps unparser_corpus_literal_literal.txt.rb (2) Prism Loupe ↗
▸ corpus→ldet→main-3→ldet
2 (0.1%)
2 2 6 steps classes.txt.rb (1) Prism Loupe ↗

Source Coverage by File (Originated by main-3)

Standalone coverage from 14,614 originated inputs. Exclusive source lines (emerald) and branches (sky blue) are shown inline below each file.

Open main-3 llvm-cov HTML ↗
File Line Coverage Branch Coverage Region % Function % Gain vs. Corpus Exclusive to main-3
src/prettyprint.c ↗ 94.79% (7,157/7,550) 83.61% (1,122/1,342) 85.01% 100.00% +609L / +139B
Lines 5158–5166 in prettyprint_node() Open in llvm-cov (#L5160) ↗
5158
                    found = true;
5159
                }
5160 BR → True (7x)
                if (cast->base.flags & PM_REGULAR_EXPRESSION_FLAGS_ONCE) {
5161 LINE 7xfound → True (1x)found → False (6x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
5162 LINE 7x
                    pm_buffer_append_string(output_buffer, " once", 5);
5163 LINE 7x
                    found = true;
5164 LINE 7x
                }
5165
                if (cast->base.flags & PM_REGULAR_EXPRESSION_FLAGS_EUC_JP) {
5166
                    if (found) pm_buffer_append_byte(output_buffer, ',');
Lines 5169–5178 in prettyprint_node() Open in llvm-cov (#L5171) ↗
5169
                }
5170
                if (cast->base.flags & PM_REGULAR_EXPRESSION_FLAGS_ASCII_8BIT) {
5171 BR → False (1x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
5172
                    pm_buffer_append_string(output_buffer, " ascii_8bit", 11);
5173
                    found = true;
5174
                }
5175
                if (cast->base.flags & PM_REGULAR_EXPRESSION_FLAGS_WINDOWS_31J) {
5176 BR → True (1x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
5177
                    pm_buffer_append_string(output_buffer, " windows_31j", 12);
5178
                    found = true;
src/json.c ↗ 91.53% (3,911/4,273) 83.28% (1,056/1,268) 87.44% 100.00% +361L / +130B
Lines 3160–3168 in pm_dump_json() Open in llvm-cov (#L3162) ↗
3160
                flags++;
3161
            }
3162 ((PM_NODE_FLAGS(node_) & (flag_)) != 0) → True (7x)
            if (PM_NODE_FLAG_P(cast, PM_REGULAR_EXPRESSION_FLAGS_ONCE)) {
3163 LINE 7xflags != 0 → True (1x)flags != 0 → False (6x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
3164 LINE 7x
                pm_buffer_append_string(buffer, "\"ONCE\"", 6);
3165 LINE 7x
                flags++;
3166 LINE 7x
            }
3167
            if (PM_NODE_FLAG_P(cast, PM_REGULAR_EXPRESSION_FLAGS_EUC_JP)) {
3168
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
Lines 3171–3180 in pm_dump_json() Open in llvm-cov (#L3173) ↗
3171
            }
3172
            if (PM_NODE_FLAG_P(cast, PM_REGULAR_EXPRESSION_FLAGS_ASCII_8BIT)) {
3173 BR → False (1x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
3174
                pm_buffer_append_string(buffer, "\"ASCII_8BIT\"", 12);
3175
                flags++;
3176
            }
3177
            if (PM_NODE_FLAG_P(cast, PM_REGULAR_EXPRESSION_FLAGS_WINDOWS_31J)) {
3178 BR → True (1x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
3179
                pm_buffer_append_string(buffer, "\"WINDOWS_31J\"", 13);
3180
                flags++;
src/regexp.c ↗ 96.17% (979/1,018) 92.70% (749/808) 94.44% 97.14% +478L / +442B
Lines 358–362 in pm_regexp_parse_range_quantifier() Open in llvm-cov (#L360) ↗
358
            case PM_REGEXP_RANGE_QUANTIFIER_STATE_COMMA:
359
                switch (*parser->cursor) {
360 BR → True (1x)
                    case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9':
361
                        parser->cursor++;
362
                        state = PM_REGEXP_RANGE_QUANTIFIER_STATE_MAXIMUM;
Lines 477–481 in pm_regexp_classify_property() Open in llvm-cov (#L479) ↗
477
            switch (name[0] | 0x20) {
478
                case 'a':
479 (pm_strncasecmp(name, (const uint8_t *) (str_), length) == 0) → True (1x)
                    if (PM_REGEXP_CASECMP("Alnum")) return PM_REGEXP_PROPERTY_POSIX;
480
                    if (PM_REGEXP_CASECMP("Alpha")) return PM_REGEXP_PROPERTY_POSIX;
481
                    if (PM_REGEXP_CASECMP("ASCII")) return PM_REGEXP_PROPERTY_POSIX;
src/encoding.c ↗ 96.17% (502/522) 90.25% (1,074/1,190) 95.70% 100.00% +207L / +579B
Lines 649–653 in pm_cesu_8_codepoint() Open in llvm-cov (#L651) ↗
649
    }
650

651 BR → False (6x)
    if (n > 5 && b[0] == 0xED && b[1] >= 0xA0 && b[1] <= 0xAF && b[2] >= 0x80 && b[2] <= 0xBF && b[3] == 0xED && b[4] >= 0xB0 && b[4] <= 0xBF && b[5] >= 0x80 && b[5] <= 0xBF) {
652
        *width = 6;
653

Lines 2452–2456 in pm_encoding_euc_kr_char_width() Open in llvm-cov (#L2454) ↗
2452
pm_encoding_euc_kr_char_width(const uint8_t *b, ptrdiff_t n) {
2453
    // These are the single byte characters.
2454 BR → False (3x)
    if ((n > 0) && (*b < 0x80)) {
2455
        return 1;
2456
    }
src/double.c ↗ 95.67% (221/231) 80.95% (170/210) 78.42% 100.00% +156L / +104B
Lines 163–167 in pm_double_round() Open in llvm-cov (#L165) ↗
163
     * subnormal if the value is that small. */
164
    int64_t shift = (int64_t) pm_bsrll(mantissa) + 1 - 53;
165 BR → True (1x)
    if (shift < -1074 - exponent) shift = -1074 - exponent;
166

167
    uint64_t bits;
src/prism.c ↗ 96.80% (14,343/14,817) 88.90% (9,065/10,197) 89.16% 99.33% +2,492L / +2,210B 0
src/tokens.c ↗ 94.25% (328/348) 93.82% (334/356) 79.23% 100.00% +311L / +155B 0
src/comments.c ↗ 100.00% (224/224) 94.85% (129/136) 94.14% 100.00% +224L / +129B 0
src/node.c ↗ 99.40% (2,328/2,342) 78.28% (728/930) 76.12% 99.33% +139L / +40B 0
src/static_literals.c ↗ 73.00% (265/363) 69.34% (199/287) 60.97% 94.12% +132L / +104B 0
src/serialize.c ↗ 87.69% (2,052/2,340) 98.24% (781/795) 97.41% 100.00% +127L / +37B 0
src/integer.c ↗ 81.11% (262/323) 68.40% (158/231) 65.51% 83.33% +89L / +60B 0
src/strpbrk.c ↗ 98.80% (165/167) 91.30% (84/92) 89.82% 100.00% +50L / +37B 0
src/errors_format.c ↗ 92.99% (305/328) 87.11% (169/194) 85.80% 100.00% +47L / +41B 0
src/options.c ↗ 72.27% (86/119) 38.10% (16/42) 59.81% 95.00% +40L / +7B 0
src/buffer.c ↗ 97.77% (219/224) 85.44% (88/103) 84.53% 100.00% +25L / +11B 0
src/bignum.c ↗ 34.29% (24/70) 18.18% (4/22) 22.39% 41.67% +24L / +4B 0
src/line_offset_list.c ↗ 100.00% (52/52) 100.00% (12/12) 100.00% 100.00% +19L / +6B 0
src/char.c ↗ 100.00% (89/89) 92.50% (37/40) 97.56% 100.00% +9L / +13B 0
include/prism/internal/bignum.h ↗ 78.22% (79/101) 75.68% (56/74) 76.35% 100.00% +7L / +13B 0
src/diagnostic.c ↗ 96.61% (57/59) 56.25% (9/16) 68.33% 100.00% +4L / +1B 0
src/memchr.c ↗ 100.00% (19/19) 100.00% (12/12) 100.00% 100.00% +4L / +2B 0
src/xxh3.c ↗ 87.59% (120/137) 84.38% (27/32) 80.25% 100.00% +4L / +1B 0
src/parser.c ↗ 100.00% (12/12) 75.00% (3/4) 100.00% 100.00% +3L / +0B 0
src/stringy.c ↗ 100.00% (26/26) 75.00% (6/8) 75.00% 100.00% +2L / +1B 0
include/prism/compiler/stack.h ↗ 21.74% (5/23) — 100.00% 100.00% — 0
include/prism/constant_pool.h ↗ 0.00% (0/3) — 0.00% 0.00% — 0
include/prism/integer.h ↗ 91.67% (11/12) 100.00% (2/2) 100.00% 100.00% — 0
include/prism/internal/arena.h ↗ 47.92% (23/48) 40.00% (4/10) 65.00% 75.00% — 0
include/prism/internal/char.h ↗ 0.00% (0/13) — 0.00% 0.00% — 0
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) — 100.00% 100.00% — 0
include/prism/internal/integer.h ↗ 100.00% (6/6) 100.00% (4/4) 100.00% 100.00% +0L / +1B 0
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) — 0.00% 0.00% — 0
include/prism/internal/node.h ↗ 0.00% (0/7) — 0.00% 0.00% — 0
include/prism/internal/parser.h ↗ 100.00% (5/5) 50.00% (1/2) 75.00% 100.00% — 0
src/arena.c ↗ 89.13% (41/46) 37.50% (9/24) 57.35% 100.00% — 0
src/constant_pool.c ↗ 98.84% (171/173) 78.21% (61/78) 77.78% 100.00% +0L / +1B 0
src/list.c ↗ 100.00% (12/12) 100.00% (2/2) 100.00% 100.00% — 0
src/strncasecmp.c ↗ 100.00% (16/16) 91.67% (11/12) 94.44% 100.00% +0L / +1B 0

main-4

afl-fuzz -t 250+ -m none -x ./test/fuzz/dict -G 1024 -i /tmp/afl-tmpdir/main-4/seeds -o ./tmp/fuzz/afl -S main-4 -p coe -a binary -P exploit -w ./build/fuzz.sand -- ./build/fuzz.native

Schedule: coe Stability: 100.00% Samples: 20 Worker llvm-cov HTML ↗
AFL++ Map Coverage
72.16%
12,037 / 16,681 edges
Source Coverage (Originated)
94.44%
34,126 lines • 87.40% branches (+5,533L / +4,266B vs corpus)
Exclusive to main-4
+7L / +9B
lines & branches not hit by any other origin
Throughput
52,620/s
8.1M total execs
Corpus Queue
18,251
+13,248 local, 4,950 synced
Pending (Fav / Total)
0
of 11,698 unfuzzed
Cycles / Max Depth
0
max depth 18
Crashes / Hangs
1153 / 0
Peak RSS: 4 MB
Sync to main
+906 (5.7%)
15,919 tested • cursor 16,993/18,251 (93%)
Sync from main
100%
cursor 14,691 / 14,703 in main

Coverage & Edges Discovered

Instrumented edges reached (out of 16,681 total)

edges_found 12,037
10,813 11,142 11,471 11,799 12,128 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s edges_found

Map Density (%)

Bitmap coverage percentage over time (map_size)

map_size 72.16%
64.83% 66.80% 68.76% 70.73% 72.70% 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s map_size

Queue & Pending Corpus

Total queue size vs. pending unfuzzed and pending favored items

corpus_count 18.3K pending_total 11.7K pending_favs 0
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count pending_total pending_favs

Queue Origin Breakdown (Local vs. Synced)

Total queue split into locally mutated finds, foreign synced imports, and initial seeds

corpus_count 18.3K local_finds 13.2K synced_imports 4,950 initial_seeds 53
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count local_finds synced_imports initial_seeds

Synced Imports by Source Fuzzer

Which foreign fuzzers contributed synced queue entries to main-4 over time

from main 1,367 from ldet 3,583
0 1,250 2,500 3,750 5,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s from main from ldet

Execution Speed (execs/sec)

Target executions per second over time

execs_per_sec 1539.53/s
0/s 25K/s 50K/s 75K/s 100K/s 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s execs_per_sec

Cumulative Executions

Total executions completed by main-4

total_execs 8.1M
0 2.5M 5M 7.5M 10M 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s total_execs

Crashes, Hangs & Queue Depth

Saved crashes, saved hangs, cycles done, and max mutation depth

saved_crashes 1,153 saved_hangs 0 max_depth 18 cycles_done 0
0 500 1,000 1,500 2,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s saved_crashes saved_hangs max_depth cycles_done

Crash Lineage Involving main-4 (1,153 Direct Crashes • 23 Forwarded to Peers)

Pathways where main-4 either discovered the crash directly or mutated/forwarded an ancestor queue item that later crashed in another worker.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ corpus→main→main-4
940 (79.9%)
121 33 12 steps unparser_corpus_literal_dstr.txt.rb (380) Prism Loupe ↗
▸ corpus→main-4
178 (15.1%)
94 18 15 steps 3.3-3.3_it_with_ordinary_parameter.txt.rb (95) Prism Loupe ↗
▸ corpus→ldet→main-4
29 (2.5%)
17 9 8 steps classes.txt.rb (14) Prism Loupe ↗
▸ corpus→main-4→ldet
19 (1.6%)
12 8 7 steps pattern_many_captures.txt.rb (9) Prism Loupe ↗
▸ corpus→main-7→main→main-4
5 (0.4%)
4 3 8 steps constants.txt.rb (2) Prism Loupe ↗
▸ corpus→main→main-4→ldet
3 (0.3%)
3 3 7 steps seattlerb_TestRubyParserShared.txt.rb (1) Prism Loupe ↗
▸ corpus→main-7→ldet→main-4
1 (0.1%)
1 1 6 steps case.txt.rb (1) Prism Loupe ↗
▸ corpus→main-7→ldet→main-4→ldet
1 (0.1%)
1 1 8 steps case.txt.rb (1) Prism Loupe ↗

Source Coverage by File (Originated by main-4)

Standalone coverage from 14,403 originated inputs. Exclusive source lines (emerald) and branches (sky blue) are shown inline below each file.

Open main-4 llvm-cov HTML ↗
File Line Coverage Branch Coverage Region % Function % Gain vs. Corpus Exclusive to main-4
src/static_literals.c ↗ 78.79% (286/363) 73.17% (210/287) 59.44% 94.12% +153L / +115B
Lines 439–446 in pm_static_literal_positive_p() Open in llvm-cov (#L441) ↗
439
        case PM_FLOAT_NODE:
440
            return ((const pm_float_node_t *) node)->value > 0;
441 BR → False (1x)
        case PM_INTEGER_NODE:
442
            return !((const pm_integer_node_t *) node)->value.negative;
443 LINE 1xBR → True (1x)
        case PM_RATIONAL_NODE:
444 LINE 1x
            return !((const pm_rational_node_t *) node)->numerator.negative;
445
        case PM_IMAGINARY_NODE:
446
            return pm_static_literal_positive_p(((const pm_imaginary_node_t *) node)->numeric);
Lines 457–463 in pm_static_literal_inspect() Open in llvm-cov (#L459) ↗
457
pm_static_literal_inspect(pm_buffer_t *buffer, const pm_parser_t *parser, const pm_node_t *node) {
458
    switch (PM_NODE_TYPE(node)) {
459 LINE 4xBR → True (4x)
        case PM_FALSE_NODE:
460 LINE 4x
            pm_buffer_append_string(buffer, "false", 5);
461 LINE 4x
            break;
462
        case PM_FLOAT_NODE: {
463
            const double value = ((const pm_float_node_t *) node)->value;
Lines 493–499 in pm_static_literal_inspect() Open in llvm-cov (#L495) ↗
493
            if (pm_static_literal_positive_p(numeric)) pm_buffer_append_byte(buffer, '+');
494
            pm_static_literal_inspect(buffer, parser, numeric);
495 (PM_NODE_TYPE(node_) == (type_)) → True (1x)
            if (PM_NODE_TYPE_P(numeric, PM_RATIONAL_NODE)) {
496 LINE 1x
                pm_buffer_append_byte(buffer, '*');
497 LINE 1x
            }
498
            pm_buffer_append_string(buffer, "i)", 2);
499
            break;
src/prism.c ↗ 96.89% (14,356/14,817) 89.26% (9,102/10,197) 89.44% 99.33% +2,498L / +2,238B
Lines 1200–1204 in pm_check_value_expression() Open in llvm-cov (#L1202) ↗
1200
                        pm_node_t *vn = pm_check_value_expression(parser, UP(cast->statements));
1201
                        if (vn == NULL) return NULL;
1202 BR → False (1x)
                        if (void_node == NULL) void_node = vn;
1203
                    }
Lines 5659–5663 in pm_multi_target_node_targets_append() Open in llvm-cov (#L5661) ↗
5659
    }
5661 BR → True (1x)
    if (PM_NODE_LENGTH(node) == 0 || (PM_NODE_START(node) > PM_NODE_START(target))) {
5662
        PM_NODE_START_SET_NODE(node, target);
5663
    }
src/prettyprint.c ↗ 94.64% (7,145/7,550) 82.64% (1,109/1,342) 83.66% 100.00% +581L / +123B
Lines 1478–1482 in prettyprint_node() Open in llvm-cov (#L1480) ↗
1478
                }
1479
                if (cast->base.flags & PM_CALL_NODE_FLAGS_IGNORE_VISIBILITY) {
1480 BR → True (2x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
1481
                    pm_buffer_append_string(output_buffer, " ignore_visibility", 18);
1482
                    found = true;
src/regexp.c ↗ 96.37% (981/1,018) 92.33% (746/808) 94.53% 97.14% +480L / +439B
Lines 479–483 in pm_regexp_classify_property() Open in llvm-cov (#L481) ↗
479
                    if (PM_REGEXP_CASECMP("Alnum")) return PM_REGEXP_PROPERTY_POSIX;
480
                    if (PM_REGEXP_CASECMP("Alpha")) return PM_REGEXP_PROPERTY_POSIX;
481 (pm_strncasecmp(name, (const uint8_t *) (str_), length) == 0) → True (3x)
                    if (PM_REGEXP_CASECMP("ASCII")) return PM_REGEXP_PROPERTY_POSIX;
482
                    break;
483
                case 'b':
src/json.c ↗ 91.01% (3,889/4,273) 82.26% (1,043/1,268) 86.41% 100.00% +333L / +114B
Lines 961–965 in pm_dump_json() Open in llvm-cov (#L963) ↗
961
            }
962
            if (PM_NODE_FLAG_P(cast, PM_CALL_NODE_FLAGS_IGNORE_VISIBILITY)) {
963 BR → True (2x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
964
                pm_buffer_append_string(buffer, "\"IGNORE_VISIBILITY\"", 19);
965
                flags++;
src/tokens.c ↗ 94.25% (328/348) 93.82% (334/356) 79.23% 100.00% +311L / +155B 0
src/comments.c ↗ 100.00% (224/224) 94.85% (129/136) 94.59% 100.00% +224L / +129B 0
src/encoding.c ↗ 95.02% (496/522) 89.58% (1,066/1,190) 95.22% 100.00% +201L / +568B 0
src/double.c ↗ 95.67% (221/231) 80.48% (169/210) 77.51% 100.00% +156L / +103B 0
src/node.c ↗ 99.40% (2,328/2,342) 78.28% (728/930) 76.12% 99.33% +139L / +40B 0
src/serialize.c ↗ 87.95% (2,058/2,340) 98.49% (783/795) 97.70% 100.00% +127L / +37B 0
src/integer.c ↗ 81.11% (262/323) 68.83% (159/231) 65.51% 83.33% +89L / +61B 0
src/errors_format.c ↗ 93.90% (308/328) 87.63% (170/194) 86.12% 100.00% +50L / +42B 0
src/strpbrk.c ↗ 98.80% (165/167) 91.30% (84/92) 89.82% 100.00% +50L / +37B 0
src/options.c ↗ 72.27% (86/119) 38.10% (16/42) 59.81% 95.00% +40L / +7B 0
src/buffer.c ↗ 97.77% (219/224) 85.44% (88/103) 84.53% 100.00% +25L / +11B 0
src/bignum.c ↗ 34.29% (24/70) 18.18% (4/22) 22.39% 41.67% +24L / +4B 0
src/line_offset_list.c ↗ 100.00% (52/52) 100.00% (12/12) 100.00% 100.00% +19L / +6B 0
src/char.c ↗ 100.00% (89/89) 95.00% (38/40) 98.78% 100.00% +9L / +14B 0
include/prism/internal/bignum.h ↗ 78.22% (79/101) 75.68% (56/74) 76.35% 100.00% +7L / +13B 0
src/diagnostic.c ↗ 96.61% (57/59) 56.25% (9/16) 68.33% 100.00% +4L / +1B 0
src/memchr.c ↗ 100.00% (19/19) 100.00% (12/12) 100.00% 100.00% +4L / +2B 0
src/xxh3.c ↗ 87.59% (120/137) 84.38% (27/32) 80.25% 100.00% +4L / +1B 0
src/parser.c ↗ 100.00% (12/12) 100.00% (4/4) 100.00% 100.00% +3L / +1B 0
src/stringy.c ↗ 100.00% (26/26) 75.00% (6/8) 75.00% 100.00% +2L / +1B 0
include/prism/compiler/stack.h ↗ 21.74% (5/23) — 100.00% 100.00% — 0
include/prism/constant_pool.h ↗ 0.00% (0/3) — 0.00% 0.00% — 0
include/prism/integer.h ↗ 91.67% (11/12) 100.00% (2/2) 100.00% 100.00% — 0
include/prism/internal/arena.h ↗ 47.92% (23/48) 50.00% (5/10) 75.00% 75.00% +0L / +1B 0
include/prism/internal/char.h ↗ 0.00% (0/13) — 0.00% 0.00% — 0
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) — 100.00% 100.00% — 0
include/prism/internal/integer.h ↗ 100.00% (6/6) 100.00% (4/4) 100.00% 100.00% +0L / +1B 0
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) — 0.00% 0.00% — 0
include/prism/internal/node.h ↗ 0.00% (0/7) — 0.00% 0.00% — 0
include/prism/internal/parser.h ↗ 100.00% (5/5) 50.00% (1/2) 75.00% 100.00% — 0
src/arena.c ↗ 89.13% (41/46) 37.50% (9/24) 57.35% 100.00% — 0
src/constant_pool.c ↗ 98.84% (171/173) 78.21% (61/78) 77.78% 100.00% +0L / +1B 0
src/list.c ↗ 100.00% (12/12) 100.00% (2/2) 100.00% 100.00% — 0
src/strncasecmp.c ↗ 100.00% (16/16) 91.67% (11/12) 94.44% 100.00% +0L / +1B 0

main-5

afl-fuzz -t 250+ -m none -x ./test/fuzz/dict -G 1024 -i /tmp/afl-tmpdir/main-5/seeds -o ./tmp/fuzz/afl -S main-5 -p lin -P explore -w ./build/fuzz.sand -- ./build/fuzz.native

Schedule: lin Stability: 100.00% Samples: 20 Worker llvm-cov HTML ↗
AFL++ Map Coverage
72.12%
12,030 / 16,681 edges
Source Coverage (Originated)
94.49%
34,143 lines • 87.21% branches (+5,541L / +4,227B vs corpus)
Exclusive to main-5
+16L / +15B
lines & branches not hit by any other origin
Throughput
47,909/s
7.37M total execs
Corpus Queue
18,147
+13,550 local, 4,544 synced
Pending (Fav / Total)
663
of 11,240 unfuzzed
Cycles / Max Depth
0
max depth 16
Crashes / Hangs
1338 / 0
Peak RSS: 4 MB
Sync to main
+902 (5.2%)
17,232 tested • cursor 18,032/18,147 (99%)
Sync from main
99%
cursor 14,624 / 14,703 in main

Coverage & Edges Discovered

Instrumented edges reached (out of 16,681 total)

edges_found 12,030
10,871 11,182 11,494 11,805 12,116 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s edges_found

Map Density (%)

Bitmap coverage percentage over time (map_size)

map_size 72.12%
65.18% 67.04% 68.90% 70.77% 72.63% 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s map_size

Queue & Pending Corpus

Total queue size vs. pending unfuzzed and pending favored items

corpus_count 18.1K pending_total 11.2K pending_favs 663
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count pending_total pending_favs

Queue Origin Breakdown (Local vs. Synced)

Total queue split into locally mutated finds, foreign synced imports, and initial seeds

corpus_count 18.1K local_finds 13.6K synced_imports 4,544 initial_seeds 53
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count local_finds synced_imports initial_seeds

Synced Imports by Source Fuzzer

Which foreign fuzzers contributed synced queue entries to main-5 over time

from main 912 from ldet 3,632
0 1,250 2,500 3,750 5,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s from main from ldet

Execution Speed (execs/sec)

Target executions per second over time

execs_per_sec 39K/s
0/s 25K/s 50K/s 75K/s 100K/s 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s execs_per_sec

Cumulative Executions

Total executions completed by main-5

total_execs 7.37M
0 2.5M 5M 7.5M 10M 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s total_execs

Crashes, Hangs & Queue Depth

Saved crashes, saved hangs, cycles done, and max mutation depth

saved_crashes 1,338 saved_hangs 0 max_depth 16 cycles_done 0
0 500 1,000 1,500 2,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s saved_crashes saved_hangs max_depth cycles_done

Crash Lineage Involving main-5 (1,338 Direct Crashes • 39 Forwarded to Peers)

Pathways where main-5 either discovered the crash directly or mutated/forwarded an ancestor queue item that later crashed in another worker.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ corpus→main→main-5
1,141 (82.9%)
114 38 10 steps whitequark_dedenting_heredoc.txt.rb (430) Prism Loupe ↗
▸ corpus→main-5
154 (11.2%)
67 16 14 steps seattlerb_pct_w_heredoc_interp_nested.txt.rb (62) Prism Loupe ↗
▸ corpus→ldet→main-5
39 (2.8%)
29 8 17 steps seattlerb_parse_pattern_058_2.txt.rb (16) Prism Loupe ↗
▸ corpus→main-5→ldet
19 (1.4%)
8 3 7 steps regex.txt.rb (16) Prism Loupe ↗
▸ corpus→main→main-5→ldet
12 (0.9%)
9 7 6 steps whitequark_dedenting_heredoc.txt.rb (5) Prism Loupe ↗
▸ corpus→ldet→main-5→ldet
8 (0.6%)
4 2 8 steps classes.txt.rb (7) Prism Loupe ↗
▸ corpus→main→main-8→ldet→main-5
3 (0.2%)
1 1 11 steps endless_method_rescue_modifier.txt.rb (3) Prism Loupe ↗
▸ corpus→main-6→ldet→main-5
1 (0.1%)
1 1 12 steps 3.3-3.3_return_in_sclass.txt.rb (1) Prism Loupe ↗

Source Coverage by File (Originated by main-5)

Standalone coverage from 15,129 originated inputs. Exclusive source lines (emerald) and branches (sky blue) are shown inline below each file.

Open main-5 llvm-cov HTML ↗
File Line Coverage Branch Coverage Region % Function % Gain vs. Corpus Exclusive to main-5
src/prettyprint.c ↗ 95.06% (7,177/7,550) 84.28% (1,131/1,342) 85.66% 100.00% +609L / +142B
Lines 1034–1038 in prettyprint_node() Open in llvm-cov (#L1036) ↗
1034
                }
1035
                if (cast->base.flags & PM_CALL_NODE_FLAGS_IGNORE_VISIBILITY) {
1036 BR → True (3x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
1037
                    pm_buffer_append_string(output_buffer, " ignore_visibility", 18);
1038
                    found = true;
Lines 5148–5161 in prettyprint_node() Open in llvm-cov (#L5150) ↗
5148
                    found = true;
5149
                }
5150 BR → True (1x)
                if (cast->base.flags & PM_REGULAR_EXPRESSION_FLAGS_EXTENDED) {
5151 LINE 1xBR → True (1x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
5152 LINE 1x
                    pm_buffer_append_string(output_buffer, " extended", 9);
5153 LINE 1x
                    found = true;
5154 LINE 1x
                }
5155 BR → True (1x)
                if (cast->base.flags & PM_REGULAR_EXPRESSION_FLAGS_MULTI_LINE) {
5156 LINE 1xBR → True (1x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
5157 LINE 1x
                    pm_buffer_append_string(output_buffer, " multi_line", 11);
5158 LINE 1x
                    found = true;
5159 LINE 1x
                }
5160
                if (cast->base.flags & PM_REGULAR_EXPRESSION_FLAGS_ONCE) {
5161
                    if (found) pm_buffer_append_byte(output_buffer, ',');
src/json.c ↗ 91.76% (3,921/4,273) 83.91% (1,064/1,268) 87.98% 100.00% +361L / +132B
Lines 677–681 in pm_dump_json() Open in llvm-cov (#L679) ↗
677
            }
678
            if (PM_NODE_FLAG_P(cast, PM_CALL_NODE_FLAGS_IGNORE_VISIBILITY)) {
679 BR → True (3x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
680
                pm_buffer_append_string(buffer, "\"IGNORE_VISIBILITY\"", 19);
681
                flags++;
Lines 3150–3163 in pm_dump_json() Open in llvm-cov (#L3152) ↗
3150
                flags++;
3151
            }
3152 ((PM_NODE_FLAGS(node_) & (flag_)) != 0) → True (1x)
            if (PM_NODE_FLAG_P(cast, PM_REGULAR_EXPRESSION_FLAGS_EXTENDED)) {
3153 LINE 1xBR → True (1x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
3154 LINE 1x
                pm_buffer_append_string(buffer, "\"EXTENDED\"", 10);
3155 LINE 1x
                flags++;
3156 LINE 1x
            }
3157 ((PM_NODE_FLAGS(node_) & (flag_)) != 0) → True (1x)
            if (PM_NODE_FLAG_P(cast, PM_REGULAR_EXPRESSION_FLAGS_MULTI_LINE)) {
3158 LINE 1xBR → True (1x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
3159 LINE 1x
                pm_buffer_append_string(buffer, "\"MULTI_LINE\"", 12);
3160 LINE 1x
                flags++;
3161 LINE 1x
            }
3162
            if (PM_NODE_FLAG_P(cast, PM_REGULAR_EXPRESSION_FLAGS_ONCE)) {
3163
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
src/prism.c ↗ 96.92% (14,360/14,817) 89.31% (9,107/10,197) 89.46% 99.33% +2,501L / +2,245B
Lines 2177–2181 in pm_local_is_keyword() Open in llvm-cov (#L2179) ↗
2177
                case 'e': KEYWORD("else"); return false;
2178
                case 'n': KEYWORD("next"); return false;
2179 memcmp(source, name, length) == 0 → True (1x)
                case 'r': KEYWORD("redo"); return false;
2180
                case 's': KEYWORD("self"); return false;
2181
                case 't': KEYWORD("then");  KEYWORD("true"); return false;
Lines 11956–11960 in parser_lex() Open in llvm-cov (#L11958) ↗
11956
                                    switch (peeked) {
11957
                                        case '$': case ')': case '*': case '+':
11958 BR → True (1x)
                                        case '.': case '>': case '?': case ']':
11959
                                        case '^': case '|': case '}':
11960
                                            pm_token_buffer_push_byte(&token_buffer, '\\');
Lines 18318–18322 in ensure_valid_yield() Open in llvm-cov (#L18320) ↗
18318
            case PM_CONTEXT_DEFAULT_PARAMS:
18319
            case PM_CONTEXT_ELSE:
18320 BR → True (1x)
            case PM_CONTEXT_ELSIF:
18321
            case PM_CONTEXT_EMBEXPR:
18322
            case PM_CONTEXT_FOR_INDEX:
Lines 21933–21937 in parse_constant_path_infix() Open in llvm-cov (#L21935) ↗
21933
        }
21934
        case PM_CASE_OPERATOR:
21935 case PM_TOKEN_KEYWORD_DO_LOOP → True (1x)
        case PM_CASE_KEYWORD:
21936
        case PM_TOKEN_IDENTIFIER:
21937
        case PM_TOKEN_METHOD_NAME: {
src/encoding.c ↗ 95.21% (497/522) 87.90% (1,046/1,190) 94.12% 100.00% +202L / +548B
Lines 2261–2265 in pm_encoding_euc_jp_char_width() Open in llvm-cov (#L2263) ↗
2262
    // These are the triple byte characters.
2263 BR → False (1x)
    if ((n > 2) && (b[0] == 0x8F) && (b[1] >= 0xA1 && b[1] <= 0xFE) && (b[2] >= 0xA1 && b[2] <= 0xFE)) {
2264
        return 3;
2265
    }
src/regexp.c ↗ 93.22% (949/1,018) 87.75% (709/808) 89.44% 97.14% +448L / +402B 0
src/tokens.c ↗ 94.25% (328/348) 93.82% (334/356) 79.23% 100.00% +311L / +155B 0
src/comments.c ↗ 100.00% (224/224) 95.59% (130/136) 94.59% 100.00% +224L / +130B 0
src/static_literals.c ↗ 77.69% (282/363) 70.03% (201/287) 57.40% 100.00% +149L / +106B 0
src/double.c ↗ 91.77% (212/231) 77.62% (163/210) 76.29% 100.00% +147L / +97B 0
src/node.c ↗ 99.40% (2,328/2,342) 78.28% (728/930) 76.12% 99.33% +139L / +40B 0
src/serialize.c ↗ 87.95% (2,058/2,340) 98.49% (783/795) 97.70% 100.00% +127L / +37B 0
src/integer.c ↗ 81.11% (262/323) 66.23% (153/231) 65.05% 83.33% +89L / +55B 0
src/strpbrk.c ↗ 98.80% (165/167) 91.30% (84/92) 89.82% 100.00% +50L / +37B 0
src/errors_format.c ↗ 92.99% (305/328) 86.08% (167/194) 85.17% 100.00% +47L / +39B 0
src/options.c ↗ 72.27% (86/119) 38.10% (16/42) 59.81% 95.00% +40L / +7B 0
src/bignum.c ↗ 34.29% (24/70) 18.18% (4/22) 22.39% 41.67% +24L / +4B 0
src/buffer.c ↗ 95.09% (213/224) 81.55% (84/103) 78.45% 95.83% +19L / +7B 0
src/line_offset_list.c ↗ 100.00% (52/52) 100.00% (12/12) 100.00% 100.00% +19L / +6B 0
src/char.c ↗ 100.00% (89/89) 95.00% (38/40) 98.78% 100.00% +9L / +14B 0
include/prism/internal/bignum.h ↗ 78.22% (79/101) 75.68% (56/74) 76.35% 100.00% +7L / +13B 0
src/diagnostic.c ↗ 96.61% (57/59) 56.25% (9/16) 68.33% 100.00% +4L / +1B 0
src/memchr.c ↗ 100.00% (19/19) 100.00% (12/12) 100.00% 100.00% +4L / +2B 0
src/xxh3.c ↗ 87.59% (120/137) 84.38% (27/32) 80.25% 100.00% +4L / +1B 0
src/parser.c ↗ 100.00% (12/12) 75.00% (3/4) 100.00% 100.00% +3L / +0B 0
src/arena.c ↗ 93.48% (43/46) 45.83% (11/24) 66.18% 100.00% +2L / +2B 0
src/stringy.c ↗ 100.00% (26/26) 75.00% (6/8) 75.00% 100.00% +2L / +1B 0
include/prism/compiler/stack.h ↗ 21.74% (5/23) — 100.00% 100.00% — 0
include/prism/constant_pool.h ↗ 0.00% (0/3) — 0.00% 0.00% — 0
include/prism/integer.h ↗ 91.67% (11/12) 100.00% (2/2) 100.00% 100.00% — 0
include/prism/internal/arena.h ↗ 47.92% (23/48) 50.00% (5/10) 75.00% 75.00% +0L / +1B 0
include/prism/internal/char.h ↗ 0.00% (0/13) — 0.00% 0.00% — 0
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) — 100.00% 100.00% — 0
include/prism/internal/integer.h ↗ 100.00% (6/6) 100.00% (4/4) 100.00% 100.00% +0L / +1B 0
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) — 0.00% 0.00% — 0
include/prism/internal/node.h ↗ 0.00% (0/7) — 0.00% 0.00% — 0
include/prism/internal/parser.h ↗ 100.00% (5/5) 50.00% (1/2) 75.00% 100.00% — 0
src/constant_pool.c ↗ 98.84% (171/173) 78.21% (61/78) 77.78% 100.00% +0L / +1B 0
src/list.c ↗ 100.00% (12/12) 100.00% (2/2) 100.00% 100.00% — 0
src/strncasecmp.c ↗ 100.00% (16/16) 91.67% (11/12) 94.44% 100.00% +0L / +1B 0

main-6

afl-fuzz -t 250+ -m none -x ./test/fuzz/dict -G 1024 -i /tmp/afl-tmpdir/main-6/seeds -o ./tmp/fuzz/afl -S main-6 -p quad -a text -w ./build/fuzz.sand -- ./build/fuzz.native

Schedule: quad Stability: 100.00% Samples: 20 Worker llvm-cov HTML ↗
AFL++ Map Coverage
72.14%
12,034 / 16,681 edges
Source Coverage (Originated)
94.40%
34,110 lines • 87.31% branches (+5,515L / +4,245B vs corpus)
Exclusive to main-6
+2L / +4B
lines & branches not hit by any other origin
Throughput
50,635/s
7.79M total execs
Corpus Queue
18,375
+13,655 local, 4,668 synced
Pending (Fav / Total)
772
of 10,695 unfuzzed
Cycles / Max Depth
1
max depth 16
Crashes / Hangs
1462 / 0
Peak RSS: 4 MB
Sync to main
+1,572 (11.3%)
13,922 tested • cursor 14,982/18,375 (82%)
Sync from main
100%
cursor 14,650 / 14,703 in main

Coverage & Edges Discovered

Instrumented edges reached (out of 16,681 total)

edges_found 12,034
10,825 11,150 11,475 11,799 12,124 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s edges_found

Map Density (%)

Bitmap coverage percentage over time (map_size)

map_size 72.14%
64.89% 66.84% 68.78% 70.73% 72.68% 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s map_size

Queue & Pending Corpus

Total queue size vs. pending unfuzzed and pending favored items

corpus_count 18.4K pending_total 10.7K pending_favs 772
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count pending_total pending_favs

Queue Origin Breakdown (Local vs. Synced)

Total queue split into locally mutated finds, foreign synced imports, and initial seeds

corpus_count 18.4K local_finds 13.7K synced_imports 4,668 initial_seeds 52
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count local_finds synced_imports initial_seeds

Synced Imports by Source Fuzzer

Which foreign fuzzers contributed synced queue entries to main-6 over time

from main 1,394 from ldet 3,274
0 1,250 2,500 3,750 5,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s from main from ldet

Execution Speed (execs/sec)

Target executions per second over time

execs_per_sec 56.2K/s
0/s 25K/s 50K/s 75K/s 100K/s 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s execs_per_sec

Cumulative Executions

Total executions completed by main-6

total_execs 7.79M
0 2.5M 5M 7.5M 10M 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s total_execs

Crashes, Hangs & Queue Depth

Saved crashes, saved hangs, cycles done, and max mutation depth

saved_crashes 1,462 saved_hangs 0 max_depth 16 cycles_done 1
0 500 1,000 1,500 2,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s saved_crashes saved_hangs max_depth cycles_done

Crash Lineage Involving main-6 (1,462 Direct Crashes • 500 Forwarded to Peers)

Pathways where main-6 either discovered the crash directly or mutated/forwarded an ancestor queue item that later crashed in another worker.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ corpus→main→main-6
721 (36.7%)
228 52 14 steps unparser_corpus_literal_assignment.txt.rb (365) Prism Loupe ↗
▸ corpus→main-6
641 (32.7%)
145 21 16 steps 3.3-3.3_return_in_sclass.txt.rb (293) Prism Loupe ↗
▸ corpus→main-6→ldet
390 (19.9%)
33 5 7 steps heredoc_percent_newline_delimiter.txt.rb (371) Prism Loupe ↗
▸ corpus→main→main-6→ldet
106 (5.4%)
9 2 7 steps strings.txt.rb (105) Prism Loupe ↗
▸ corpus→ldet→main-6
87 (4.4%)
32 9 10 steps 3.3-3.3_it.txt.rb (38) Prism Loupe ↗
▸ corpus→main-7→main→main-6
11 (0.6%)
10 4 8 steps corpus_CP949.rb (5) Prism Loupe ↗
▸ corpus→main-3→ldet→main-6
2 (0.1%)
1 1 7 steps unparser_corpus_literal_literal.txt.rb (2) Prism Loupe ↗
▸ corpus→main-6→ldet→main-9
2 (0.1%)
2 1 13 steps 3.3-3.3_return_in_sclass.txt.rb (2) Prism Loupe ↗
▸ corpus→main-6→ldet→main-2
1 (0.1%)
1 1 12 steps 3.3-3.3_return_in_sclass.txt.rb (1) Prism Loupe ↗
▸ corpus→main-6→ldet→main-5
1 (0.1%)
1 1 12 steps 3.3-3.3_return_in_sclass.txt.rb (1) Prism Loupe ↗

Source Coverage by File (Originated by main-6)

Standalone coverage from 15,127 originated inputs. Exclusive source lines (emerald) and branches (sky blue) are shown inline below each file.

Open main-6 llvm-cov HTML ↗
File Line Coverage Branch Coverage Region % Function % Gain vs. Corpus Exclusive to main-6
src/tokens.c ↗ 94.83% (330/348) 94.10% (335/356) 79.71% 100.00% +313L / +156B
Lines 596–601 in pm_token_str() Open in llvm-cov (#L598) ↗
596
        case PM_TOKEN_LABEL:
597
            return "label";
598 LINE 4xBR → True (4x)
        case PM_TOKEN_LABEL_END:
599 LINE 4x
            return "label terminator";
600
        case PM_TOKEN_LAMBDA_BEGIN:
601
            return "'{'";
src/encoding.c ↗ 94.64% (494/522) 90.17% (1,073/1,190) 95.76% 100.00% +199L / +577B
Lines 2345–2349 in pm_encoding_shift_jis_isupper_char() Open in llvm-cov (#L2347) ↗
2345
            ((b[0] == 0x82) && (b[1] >= 0x60 && b[1] <= 0x79)) ||
2346
            ((b[0] == 0x83) && (b[1] >= 0x9F && b[1] <= 0xB6)) ||
2347 BR → True (1x)
            ((b[0] == 0x84) && (b[1] >= 0x40 && b[1] <= 0x60))
2348
        );
2349
    } else {
Lines 3363–3367 in pm_encoding_find() Open in llvm-cov (#L3365) ↗
3363
                ENCODING2("EUC-JIS-2004", "EUC-JISX0213", PM_ENCODING_EUC_JIS_2004);
3364
                ENCODING2("EUC-KR", "eucKR", PM_ENCODING_EUC_KR);
3365 pm_strncasecmp(start, (const uint8_t *) name, width) == 0 → True (1x)
                ENCODING2("EUC-CN", "eucCN", PM_ENCODING_GB2312);
3366
                ENCODING2("EUC-TW", "eucTW", PM_ENCODING_EUC_TW);
3367
                ENCODING1("Emacs-Mule", PM_ENCODING_EMACS_MULE);
src/prism.c ↗ 96.80% (14,343/14,817) 89.21% (9,097/10,197) 89.39% 99.33% +2,491L / +2,233B
Lines 22539–22543 in parse_call() Open in llvm-cov (#L22541) ↗
22539
    switch (parser->current.type) {
22540
        case PM_CASE_OPERATOR:
22541 case PM_TOKEN_KEYWORD_MODULE → True (1x)
        case PM_CASE_KEYWORD:
22542
        case PM_TOKEN_CONSTANT:
22543
        case PM_TOKEN_IDENTIFIER:
src/prettyprint.c ↗ 94.69% (7,149/7,550) 82.79% (1,111/1,342) 83.95% 100.00% +581L / +122B 0
src/regexp.c ↗ 93.61% (953/1,018) 88.99% (719/808) 90.76% 97.14% +452L / +412B 0
src/json.c ↗ 91.11% (3,893/4,273) 82.49% (1,046/1,268) 86.65% 100.00% +333L / +114B 0
src/comments.c ↗ 100.00% (224/224) 95.59% (130/136) 94.59% 100.00% +224L / +130B 0
src/static_literals.c ↗ 82.09% (298/363) 72.82% (209/287) 63.52% 100.00% +165L / +114B 0
src/double.c ↗ 95.67% (221/231) 80.95% (170/210) 78.12% 100.00% +156L / +104B 0
src/node.c ↗ 99.40% (2,328/2,342) 78.28% (728/930) 76.12% 99.33% +139L / +40B 0
src/serialize.c ↗ 87.95% (2,058/2,340) 98.49% (783/795) 97.70% 100.00% +127L / +37B 0
src/integer.c ↗ 81.11% (262/323) 67.97% (157/231) 65.28% 83.33% +89L / +59B 0
src/strpbrk.c ↗ 98.80% (165/167) 92.39% (85/92) 89.82% 100.00% +50L / +38B 0
src/errors_format.c ↗ 92.99% (305/328) 87.11% (169/194) 85.80% 100.00% +47L / +41B 0
src/options.c ↗ 72.27% (86/119) 38.10% (16/42) 59.81% 95.00% +40L / +7B 0
src/buffer.c ↗ 97.77% (219/224) 84.47% (87/103) 83.98% 100.00% +25L / +10B 0
src/bignum.c ↗ 34.29% (24/70) 18.18% (4/22) 22.39% 41.67% +24L / +4B 0
src/line_offset_list.c ↗ 100.00% (52/52) 100.00% (12/12) 100.00% 100.00% +19L / +6B 0
src/char.c ↗ 100.00% (89/89) 95.00% (38/40) 98.78% 100.00% +9L / +14B 0
include/prism/internal/bignum.h ↗ 78.22% (79/101) 75.68% (56/74) 76.35% 100.00% +7L / +13B 0
include/prism/internal/arena.h ↗ 60.42% (29/48) 70.00% (7/10) 90.00% 75.00% +6L / +3B 0
src/diagnostic.c ↗ 96.61% (57/59) 56.25% (9/16) 68.33% 100.00% +4L / +1B 0
src/memchr.c ↗ 100.00% (19/19) 100.00% (12/12) 100.00% 100.00% +4L / +2B 0
src/xxh3.c ↗ 87.59% (120/137) 84.38% (27/32) 80.25% 100.00% +4L / +1B 0
src/parser.c ↗ 100.00% (12/12) 100.00% (4/4) 100.00% 100.00% +3L / +1B 0
src/arena.c ↗ 93.48% (43/46) 45.83% (11/24) 66.18% 100.00% +2L / +2B 0
src/stringy.c ↗ 100.00% (26/26) 75.00% (6/8) 75.00% 100.00% +2L / +1B 0
include/prism/compiler/stack.h ↗ 21.74% (5/23) — 100.00% 100.00% — 0
include/prism/constant_pool.h ↗ 0.00% (0/3) — 0.00% 0.00% — 0
include/prism/integer.h ↗ 91.67% (11/12) 100.00% (2/2) 100.00% 100.00% — 0
include/prism/internal/char.h ↗ 0.00% (0/13) — 0.00% 0.00% — 0
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) — 100.00% 100.00% — 0
include/prism/internal/integer.h ↗ 100.00% (6/6) 100.00% (4/4) 100.00% 100.00% +0L / +1B 0
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) — 0.00% 0.00% — 0
include/prism/internal/node.h ↗ 0.00% (0/7) — 0.00% 0.00% — 0
include/prism/internal/parser.h ↗ 100.00% (5/5) 50.00% (1/2) 75.00% 100.00% — 0
src/constant_pool.c ↗ 98.84% (171/173) 78.21% (61/78) 77.78% 100.00% +0L / +1B 0
src/list.c ↗ 100.00% (12/12) 100.00% (2/2) 100.00% 100.00% — 0
src/strncasecmp.c ↗ 100.00% (16/16) 91.67% (11/12) 94.44% 100.00% +0L / +1B 0

main-7

afl-fuzz -t 250+ -m none -x ./test/fuzz/dict -G 1024 -i /tmp/afl-tmpdir/main-7/seeds -o ./tmp/fuzz/afl -S main-7 -p exploit -a binary -P explore -w ./build/fuzz.sand -- ./build/fuzz.native

Schedule: exploit Stability: 100.00% Samples: 20 Worker llvm-cov HTML ↗
AFL++ Map Coverage
72.12%
12,030 / 16,681 edges
Source Coverage (Originated)
94.32%
34,082 lines • 87.04% branches (+5,477L / +4,183B vs corpus)
Exclusive to main-7
+2L / +10B
lines & branches not hit by any other origin
Throughput
81,869/s
12.6M total execs
Corpus Queue
17,481
+12,229 local, 5,200 synced
Pending (Fav / Total)
1,707
of 15,979 unfuzzed
Cycles / Max Depth
0
max depth 5
Crashes / Hangs
1300 / 0
Peak RSS: 4 MB
Sync to main
+2,018 (16.8%)
11,979 tested • cursor 12,615/17,481 (72%)
Sync from main
99%
cursor 14,624 / 14,703 in main

Coverage & Edges Discovered

Instrumented edges reached (out of 16,681 total)

edges_found 12,030
10,765 11,105 11,445 11,784 12,124 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s edges_found

Map Density (%)

Bitmap coverage percentage over time (map_size)

map_size 72.12%
64.54% 66.57% 68.61% 70.65% 72.68% 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s map_size

Queue & Pending Corpus

Total queue size vs. pending unfuzzed and pending favored items

corpus_count 17.5K pending_total 16K pending_favs 1,707
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count pending_total pending_favs

Queue Origin Breakdown (Local vs. Synced)

Total queue split into locally mutated finds, foreign synced imports, and initial seeds

corpus_count 17.5K local_finds 12.2K synced_imports 5,200 initial_seeds 52
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count local_finds synced_imports initial_seeds

Synced Imports by Source Fuzzer

Which foreign fuzzers contributed synced queue entries to main-7 over time

from main 1,043 from ldet 4,157
0 1,250 2,500 3,750 5,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s from main from ldet

Execution Speed (execs/sec)

Target executions per second over time

execs_per_sec 0/s
0/s 50K/s 100K/s 150K/s 200K/s 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s execs_per_sec

Cumulative Executions

Total executions completed by main-7

total_execs 12.6M
0 5M 10M 15M 20M 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s total_execs

Crashes, Hangs & Queue Depth

Saved crashes, saved hangs, cycles done, and max mutation depth

saved_crashes 1,300 saved_hangs 0 max_depth 5 cycles_done 0
0 500 1,000 1,500 2,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s saved_crashes saved_hangs max_depth cycles_done

Crash Lineage Involving main-7 (1,300 Direct Crashes • 1,146 Forwarded to Peers)

Pathways where main-7 either discovered the crash directly or mutated/forwarded an ancestor queue item that later crashed in another worker.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ corpus→main-7
828 (33.9%)
165 23 6 steps heredoc_percent_q_newline_delimiter.txt.rb (489) Prism Loupe ↗
▸ corpus→main→main-7→ldet
507 (20.7%)
15 2 7 steps unparser_corpus_semantic_dstr.txt.rb (506) Prism Loupe ↗
▸ corpus→main-7→main→msan
405 (16.6%)
1 1 6 steps heredoc_percent_q_newline_delimiter.txt.rb (405) Prism Loupe ↗
▸ corpus→main→main-7
401 (16.4%)
76 62 7 steps heredoc_percent_newline_delimiter.txt.rb (176) Prism Loupe ↗
▸ corpus→main-7→ldet
134 (5.5%)
13 1 7 steps heredoc_percent_q_newline_delimiter.txt.rb (134) Prism Loupe ↗
▸ corpus→ldet→main-7
71 (2.9%)
45 16 6 steps whitequark_and_asgn.txt.rb (11) Prism Loupe ↗
▸ corpus→main-7→main
46 (1.9%)
13 5 5 steps 3.3-4.0_end_block_exit.txt.rb (26) Prism Loupe ↗
▸ corpus→main-7→main→main-2
15 (0.6%)
10 3 11 steps constants.txt.rb (8) Prism Loupe ↗
▸ corpus→main-7→main→main-6
11 (0.4%)
10 4 8 steps corpus_CP949.rb (5) Prism Loupe ↗
▸ corpus→main-7→main→main-8
6 (0.2%)
4 3 6 steps constants.txt.rb (4) Prism Loupe ↗
▸ corpus→main→main-7→ldet→msan
5 (0.2%)
2 2 7 steps undef.txt.rb (4) Prism Loupe ↗
▸ corpus→main-7→ldet→msan
5 (0.2%)
1 1 6 steps constants.txt.rb (5) Prism Loupe ↗
▸ corpus→main-7→main→main-4
5 (0.2%)
4 3 8 steps constants.txt.rb (2) Prism Loupe ↗
▸ corpus→main-7→ldet→main-8
3 (0.1%)
3 3 8 steps string_concatination_frozen_true.txt.rb (1) Prism Loupe ↗
▸ corpus→main→main-7→ldet→main-8
2 (0.1%)
2 2 6 steps whitequark_pattern_matching_hash.txt.rb (1) Prism Loupe ↗
▸ corpus→main-7→ldet→main-4
1 (0.0%)
1 1 6 steps case.txt.rb (1) Prism Loupe ↗
▸ corpus→main-7→ldet→main-4→ldet
1 (0.0%)
1 1 8 steps case.txt.rb (1) Prism Loupe ↗

Source Coverage by File (Originated by main-7)

Standalone coverage from 13,669 originated inputs. Exclusive source lines (emerald) and branches (sky blue) are shown inline below each file.

Open main-7 llvm-cov HTML ↗
File Line Coverage Branch Coverage Region % Function % Gain vs. Corpus Exclusive to main-7
src/prism.c ↗ 97.02% (14,375/14,817) 89.33% (9,109/10,197) 89.25% 99.33% +2,513L / +2,240B
Lines 19947–19951 in parse_alias() Open in llvm-cov (#L19949) ↗
19947
    switch (PM_NODE_TYPE(new_name)) {
19948
        case PM_BACK_REFERENCE_READ_NODE:
19949 LINE 1xBR → True (1x)
        case PM_NUMBERED_REFERENCE_READ_NODE:
19950
        case PM_GLOBAL_VARIABLE_READ_NODE: {
19951
            if (PM_NODE_TYPE_P(old_name, PM_BACK_REFERENCE_READ_NODE) || PM_NODE_TYPE_P(old_name, PM_NUMBERED_REFERENCE_READ_NODE) || PM_NODE_TYPE_P(old_name, PM_GLOBAL_VARIABLE_READ_NODE)) {
Lines 19959–19963 in parse_alias() Open in llvm-cov (#L19961) ↗
19960
            return UP(pm_alias_global_variable_node_create(parser, &keyword, new_name, old_name));
19961 LINE 1x
        }
19962
        case PM_SYMBOL_NODE:
19963
        case PM_INTERPOLATED_SYMBOL_NODE: {
Lines 22539–22543 in parse_call() Open in llvm-cov (#L22541) ↗
22539
    switch (parser->current.type) {
22540
        case PM_CASE_OPERATOR:
22541 case PM_TOKEN_KEYWORD_BREAK → True (1x)
        case PM_CASE_KEYWORD:
22542
        case PM_TOKEN_CONSTANT:
22543
        case PM_TOKEN_IDENTIFIER:
Lines 23235–23239 in pm_strnstr() Open in llvm-cov (#L23237) ↗
23235
static void
23236
pm_parser_warn_shebang_carriage_return(pm_parser_t *parser, const uint8_t *start, size_t length) {
23237 BR → False (1x)
    if (length > 2 && start[length - 2] == '\r' && start[length - 1] == '\n') {
23238
        pm_parser_warn(parser, U32(start - parser->start), U32(length), PM_WARN_SHEBANG_CARRIAGE_RETURN);
23239
    }
src/prettyprint.c ↗ 94.85% (7,161/7,550) 83.16% (1,116/1,342) 84.54% 100.00% +593L / +128B
Lines 5174–5178 in prettyprint_node() Open in llvm-cov (#L5176) ↗
5174
                }
5175
                if (cast->base.flags & PM_REGULAR_EXPRESSION_FLAGS_WINDOWS_31J) {
5176 BR → False (1x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
5177
                    pm_buffer_append_string(output_buffer, " windows_31j", 12);
5178
                    found = true;
Lines 6100–6104 in prettyprint_node() Open in llvm-cov (#L6102) ↗
6100
                }
6101
                if (cast->base.flags & PM_REGULAR_EXPRESSION_FLAGS_UTF_8) {
6102 BR → True (1x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
6103
                    pm_buffer_append_string(output_buffer, " utf_8", 6);
6104
                    found = true;
src/regexp.c ↗ 92.83% (945/1,018) 85.89% (694/808) 89.07% 97.14% +444L / +387B
Lines 358–362 in pm_regexp_parse_range_quantifier() Open in llvm-cov (#L360) ↗
358
            case PM_REGEXP_RANGE_QUANTIFIER_STATE_COMMA:
359
                switch (*parser->cursor) {
360 BR → True (1x)
                    case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9':
361
                        parser->cursor++;
362
                        state = PM_REGEXP_RANGE_QUANTIFIER_STATE_MAXIMUM;
Lines 1608–1612 in pm_regexp_validate_encoding() Open in llvm-cov (#L1610) ↗
1608
        if (parser->has_unicode_escape && parser->has_hex_escape && parser->encoding != PM_ENCODING_UTF_8_ENTRY) {
1609
            if (parser->encoding != PM_ENCODING_US_ASCII_ENTRY &&
1610 BR → False (1x)
                parser->encoding != PM_ENCODING_ASCII_8BIT_ENTRY &&
1611
                !pm_regexp_validate_hex_escapes(parser->encoding, &parser->hex_escape_buffer)) {
1612
                PM_REGEXP_ENCODING_ERROR(parser, PM_ERR_INVALID_MULTIBYTE_ESCAPE, source_length, source_start);
src/json.c ↗ 91.39% (3,905/4,273) 82.89% (1,051/1,268) 87.14% 100.00% +345L / +120B
Lines 3176–3180 in pm_dump_json() Open in llvm-cov (#L3178) ↗
3176
            }
3177
            if (PM_NODE_FLAG_P(cast, PM_REGULAR_EXPRESSION_FLAGS_WINDOWS_31J)) {
3178 BR → False (1x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
3179
                pm_buffer_append_string(buffer, "\"WINDOWS_31J\"", 13);
3180
                flags++;
Lines 3821–3825 in pm_dump_json() Open in llvm-cov (#L3823) ↗
3821
            }
3822
            if (PM_NODE_FLAG_P(cast, PM_REGULAR_EXPRESSION_FLAGS_UTF_8)) {
3823 BR → True (1x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
3824
                pm_buffer_append_string(buffer, "\"UTF_8\"", 7);
3825
                flags++;
src/encoding.c ↗ 94.25% (492/522) 89.75% (1,068/1,190) 95.76% 100.00% +197L / +563B
Lines 2371–2375 in pm_encoding_big5_char_width() Open in llvm-cov (#L2373) ↗
2371
pm_encoding_big5_char_width(const uint8_t *b, ptrdiff_t n) {
2372
    // These are the single byte characters.
2373 BR → False (1x)
    if ((n > 0) && (*b < 0x80)) {
2374
        return 1;
2375
    }
src/tokens.c ↗ 94.25% (328/348) 93.82% (334/356) 79.23% 100.00% +311L / +155B 0
src/comments.c ↗ 100.00% (224/224) 94.12% (128/136) 94.14% 100.00% +224L / +128B 0
src/double.c ↗ 95.67% (221/231) 80.95% (170/210) 77.51% 100.00% +156L / +104B 0
src/node.c ↗ 99.40% (2,328/2,342) 78.28% (728/930) 76.12% 99.33% +139L / +40B 0
src/serialize.c ↗ 87.95% (2,058/2,340) 98.49% (783/795) 97.70% 100.00% +127L / +37B 0
src/static_literals.c ↗ 67.22% (244/363) 63.07% (181/287) 51.53% 88.24% +111L / +86B 0
src/integer.c ↗ 81.11% (262/323) 67.97% (157/231) 65.51% 83.33% +89L / +59B 0
src/strpbrk.c ↗ 98.80% (165/167) 91.30% (84/92) 89.82% 100.00% +50L / +37B 0
src/errors_format.c ↗ 92.99% (305/328) 87.11% (169/194) 85.80% 100.00% +47L / +41B 0
src/options.c ↗ 72.27% (86/119) 38.10% (16/42) 59.81% 95.00% +40L / +7B 0
src/bignum.c ↗ 34.29% (24/70) 18.18% (4/22) 22.39% 41.67% +24L / +4B 0
src/line_offset_list.c ↗ 100.00% (52/52) 100.00% (12/12) 100.00% 100.00% +19L / +6B 0
src/buffer.c ↗ 93.30% (209/224) 80.58% (83/103) 76.24% 91.67% +15L / +6B 0
src/char.c ↗ 100.00% (89/89) 95.00% (38/40) 98.78% 100.00% +9L / +14B 0
include/prism/internal/bignum.h ↗ 78.22% (79/101) 75.68% (56/74) 76.35% 100.00% +7L / +13B 0
src/diagnostic.c ↗ 96.61% (57/59) 56.25% (9/16) 68.33% 100.00% +4L / +1B 0
src/memchr.c ↗ 100.00% (19/19) 100.00% (12/12) 100.00% 100.00% +4L / +2B 0
src/xxh3.c ↗ 87.59% (120/137) 84.38% (27/32) 80.25% 100.00% +4L / +1B 0
src/parser.c ↗ 100.00% (12/12) 75.00% (3/4) 100.00% 100.00% +3L / +0B 0
src/stringy.c ↗ 100.00% (26/26) 75.00% (6/8) 75.00% 100.00% +2L / +1B 0
include/prism/compiler/stack.h ↗ 21.74% (5/23) — 100.00% 100.00% — 0
include/prism/constant_pool.h ↗ 0.00% (0/3) — 0.00% 0.00% — 0
include/prism/integer.h ↗ 91.67% (11/12) 100.00% (2/2) 100.00% 100.00% — 0
include/prism/internal/arena.h ↗ 47.92% (23/48) 40.00% (4/10) 65.00% 75.00% — 0
include/prism/internal/char.h ↗ 0.00% (0/13) — 0.00% 0.00% — 0
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) — 100.00% 100.00% — 0
include/prism/internal/integer.h ↗ 100.00% (6/6) 100.00% (4/4) 100.00% 100.00% +0L / +1B 0
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) — 0.00% 0.00% — 0
include/prism/internal/node.h ↗ 0.00% (0/7) — 0.00% 0.00% — 0
include/prism/internal/parser.h ↗ 100.00% (5/5) 50.00% (1/2) 75.00% 100.00% — 0
src/arena.c ↗ 89.13% (41/46) 37.50% (9/24) 57.35% 100.00% — 0
src/constant_pool.c ↗ 98.84% (171/173) 78.21% (61/78) 77.78% 100.00% +0L / +1B 0
src/list.c ↗ 100.00% (12/12) 100.00% (2/2) 100.00% 100.00% — 0
src/strncasecmp.c ↗ 100.00% (16/16) 91.67% (11/12) 94.44% 100.00% +0L / +1B 0

main-8

afl-fuzz -t 250+ -m none -x ./test/fuzz/dict -G 1024 -i /tmp/afl-tmpdir/main-8/seeds -o ./tmp/fuzz/afl -S main-8 -p rare -w ./build/fuzz.sand -- ./build/fuzz.native

Schedule: rare Stability: 100.00% Samples: 20 Worker llvm-cov HTML ↗
AFL++ Map Coverage
72.15%
12,036 / 16,681 edges
Source Coverage (Originated)
94.53%
34,160 lines • 87.48% branches (+5,567L / +4,281B vs corpus)
Exclusive to main-8
+5L / +14B
lines & branches not hit by any other origin
Throughput
51,812/s
7.97M total execs
Corpus Queue
18,168
+13,109 local, 5,007 synced
Pending (Fav / Total)
716
of 13,401 unfuzzed
Cycles / Max Depth
0
max depth 22
Crashes / Hangs
1217 / 0
Peak RSS: 6 MB
Sync to main
+2,033 (15.1%)
13,475 tested • cursor 14,693/18,168 (81%)
Sync from main
100%
cursor 14,650 / 14,703 in main

Coverage & Edges Discovered

Instrumented edges reached (out of 16,681 total)

edges_found 12,036
11,006 11,282 11,559 11,836 12,112 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s edges_found

Map Density (%)

Bitmap coverage percentage over time (map_size)

map_size 72.15%
65.97% 67.63% 69.29% 70.95% 72.61% 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s map_size

Queue & Pending Corpus

Total queue size vs. pending unfuzzed and pending favored items

corpus_count 18.2K pending_total 13.4K pending_favs 716
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count pending_total pending_favs

Queue Origin Breakdown (Local vs. Synced)

Total queue split into locally mutated finds, foreign synced imports, and initial seeds

corpus_count 18.2K local_finds 13.1K synced_imports 5,007 initial_seeds 52
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count local_finds synced_imports initial_seeds

Synced Imports by Source Fuzzer

Which foreign fuzzers contributed synced queue entries to main-8 over time

from main 1,562 from ldet 3,445
0 1,250 2,500 3,750 5,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s from main from ldet

Execution Speed (execs/sec)

Target executions per second over time

execs_per_sec 41.2K/s
0/s 25K/s 50K/s 75K/s 100K/s 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s execs_per_sec

Cumulative Executions

Total executions completed by main-8

total_execs 7.97M
0 2.5M 5M 7.5M 10M 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s total_execs

Crashes, Hangs & Queue Depth

Saved crashes, saved hangs, cycles done, and max mutation depth

saved_crashes 1,217 saved_hangs 0 max_depth 22 cycles_done 0
0 500 1,000 1,500 2,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s saved_crashes saved_hangs max_depth cycles_done

Crash Lineage Involving main-8 (1,217 Direct Crashes • 54 Forwarded to Peers)

Pathways where main-8 either discovered the crash directly or mutated/forwarded an ancestor queue item that later crashed in another worker.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ corpus→main→main-8
663 (52.2%)
160 41 25 steps endless_method_rescue_modifier.txt.rb (169) Prism Loupe ↗
▸ corpus→main-8
477 (37.5%)
126 25 16 steps unparser_corpus_literal_assignment.txt.rb (291) Prism Loupe ↗
▸ corpus→ldet→main-8
66 (5.2%)
23 9 9 steps 3.3-3.3_it.txt.rb (51) Prism Loupe ↗
▸ corpus→main-8→ldet
44 (3.5%)
23 9 7 steps unparser_corpus_literal_assignment.txt.rb (28) Prism Loupe ↗
▸ corpus→main→main-8→ldet→main-2
6 (0.5%)
2 2 15 steps endless_method_rescue_modifier.txt.rb (5) Prism Loupe ↗
▸ corpus→main-7→main→main-8
6 (0.5%)
4 3 6 steps constants.txt.rb (4) Prism Loupe ↗
▸ corpus→main→main-8→ldet→main-5
3 (0.2%)
1 1 11 steps endless_method_rescue_modifier.txt.rb (3) Prism Loupe ↗
▸ corpus→main-7→ldet→main-8
3 (0.2%)
3 3 8 steps string_concatination_frozen_true.txt.rb (1) Prism Loupe ↗
▸ corpus→main→main-7→ldet→main-8
2 (0.2%)
2 2 6 steps whitequark_pattern_matching_hash.txt.rb (1) Prism Loupe ↗
▸ corpus→main→main-8→ldet
1 (0.1%)
1 1 6 steps 3.3-3.3_block_args_in_array_assignment.txt.rb (1) Prism Loupe ↗

Source Coverage by File (Originated by main-8)

Standalone coverage from 14,352 originated inputs. Exclusive source lines (emerald) and branches (sky blue) are shown inline below each file.

Open main-8 llvm-cov HTML ↗
File Line Coverage Branch Coverage Region % Function % Gain vs. Corpus Exclusive to main-8
src/prism.c ↗ 97.10% (14,387/14,817) 89.64% (9,141/10,197) 89.49% 99.33% +2,527L / +2,276B
Lines 2174–2178 in pm_local_is_keyword() Open in llvm-cov (#L2176) ↗
2174
        case 4:
2175
            switch (source[0]) {
2176 memcmp(source, name, length) == 0 → True (1x)
                case 'c': KEYWORD("case"); return false;
2177
                case 'e': KEYWORD("else"); return false;
2178
                case 'n': KEYWORD("next"); return false;
Lines 2201–2205 in pm_local_is_keyword() Open in llvm-cov (#L2203) ↗
2201
                case 'e': KEYWORD("ensure"); return false;
2202
                case 'm': KEYWORD("module"); return false;
2203 memcmp(source, name, length) == 0 → True (3x)
                case 'r': KEYWORD("rescue"); KEYWORD("return"); return false;
2204
                case 'u': KEYWORD("unless"); return false;
2205
                default: return false;
Lines 8849–8856 in lex_interpolation() Open in llvm-cov (#L8851) ↗
8850
            if (pound[2] == '-') {
8851 BR → True (1x)
                if (pound + 3 >= parser->end) {
8852 LINE 1x
                    parser->current.end = pound + 2;
8853 LINE 1x
                    return PM_TOKEN_STRING_CONTENT;
8854 LINE 1x
                }
8856
                check++;
Lines 18307–18311 in ensure_valid_yield() Open in llvm-cov (#L18309) ↗
18307
            case PM_CONTEXT_BEGIN_ELSE:
18308
            case PM_CONTEXT_BEGIN_ENSURE:
18309 BR → True (1x)
            case PM_CONTEXT_BEGIN_RESCUE:
18310
            case PM_CONTEXT_BLOCK_BRACES:
18311
            case PM_CONTEXT_BLOCK_KEYWORDS:
Lines 18326–18336 in ensure_valid_yield() Open in llvm-cov (#L18328) ↗
18326
            case PM_CONTEXT_LAMBDA_DO_END:
18327
            case PM_CONTEXT_LAMBDA_ELSE:
18328 BR → True (2x)
            case PM_CONTEXT_LAMBDA_ENSURE:
18329
            case PM_CONTEXT_LAMBDA_RESCUE:
18330
            case PM_CONTEXT_LOOP_PREDICATE:
18331
            case PM_CONTEXT_MULTI_TARGET:
18332
            case PM_CONTEXT_PARENS:
18333
            case PM_CONTEXT_POSTEXE:
18334 BR → True (1x)
            case PM_CONTEXT_PREDICATE:
18335
            case PM_CONTEXT_PREEXE:
18336
            case PM_CONTEXT_RESCUE_MODIFIER:
Lines 21933–21937 in parse_constant_path_infix() Open in llvm-cov (#L21935) ↗
21933
        }
21934
        case PM_CASE_OPERATOR:
21935 case PM_CASE_KEYWORD → True (1x)case PM_TOKEN_KEYWORD___FILE__ → True (4x)case PM_TOKEN_KEYWORD_BEGIN_UPCASE → True (3x)case PM_TOKEN_KEYWORD_ENSURE → True (3x)case PM_TOKEN_KEYWORD_MODULE → True (1x)case PM_TOKEN_KEYWORD_UNDEF → True (3x)
        case PM_CASE_KEYWORD:
21936
        case PM_TOKEN_IDENTIFIER:
21937
        case PM_TOKEN_METHOD_NAME: {
Lines 22539–22543 in parse_call() Open in llvm-cov (#L22541) ↗
22539
    switch (parser->current.type) {
22540
        case PM_CASE_OPERATOR:
22541 BR → True (1x)
        case PM_CASE_KEYWORD:
22542
        case PM_TOKEN_CONSTANT:
22543
        case PM_TOKEN_IDENTIFIER:
Lines 23235–23241 in pm_strnstr() Open in llvm-cov (#L23237) ↗
23235
static void
23236
pm_parser_warn_shebang_carriage_return(pm_parser_t *parser, const uint8_t *start, size_t length) {
23237 BR → True (1x)
    if (length > 2 && start[length - 2] == '\r' && start[length - 1] == '\n') {
23238 LINE 1x
        pm_parser_warn(parser, U32(start - parser->start), U32(length), PM_WARN_SHEBANG_CARRIAGE_RETURN);
23239 LINE 1x
    }
23240
}
23241
#endif
src/prettyprint.c ↗ 94.72% (7,151/7,550) 83.08% (1,115/1,342) 84.31% 100.00% +589L / +127B 0
src/regexp.c ↗ 94.40% (961/1,018) 88.74% (717/808) 90.95% 97.14% +460L / +410B 0
src/json.c ↗ 91.27% (3,900/4,273) 82.81% (1,050/1,268) 86.90% 100.00% +341L / +119B 0
src/tokens.c ↗ 93.68% (326/348) 93.54% (333/356) 78.74% 100.00% +309L / +154B 0
src/comments.c ↗ 100.00% (224/224) 95.59% (130/136) 94.59% 100.00% +224L / +130B 0
src/encoding.c ↗ 95.59% (499/522) 89.75% (1,068/1,190) 95.09% 100.00% +204L / +574B 0
src/static_literals.c ↗ 83.47% (303/363) 74.56% (214/287) 64.03% 100.00% +170L / +119B 0
src/double.c ↗ 95.67% (221/231) 79.05% (166/210) 77.51% 100.00% +156L / +100B 0
src/node.c ↗ 99.40% (2,328/2,342) 78.28% (728/930) 76.12% 99.33% +139L / +40B 0
src/serialize.c ↗ 87.82% (2,055/2,340) 98.36% (782/795) 97.56% 100.00% +127L / +37B 0
src/integer.c ↗ 81.11% (262/323) 67.53% (156/231) 65.28% 83.33% +89L / +58B 0
src/strpbrk.c ↗ 98.80% (165/167) 92.39% (85/92) 89.82% 100.00% +50L / +38B 0
src/errors_format.c ↗ 92.99% (305/328) 86.60% (168/194) 85.49% 100.00% +47L / +40B 0
src/options.c ↗ 72.27% (86/119) 38.10% (16/42) 59.81% 95.00% +40L / +7B 0
src/bignum.c ↗ 34.29% (24/70) 18.18% (4/22) 22.39% 41.67% +24L / +4B 0
src/buffer.c ↗ 95.09% (213/224) 81.55% (84/103) 78.45% 95.83% +19L / +7B 0
src/line_offset_list.c ↗ 100.00% (52/52) 100.00% (12/12) 100.00% 100.00% +19L / +6B 0
src/char.c ↗ 100.00% (89/89) 95.00% (38/40) 98.78% 100.00% +9L / +14B 0
include/prism/internal/bignum.h ↗ 78.22% (79/101) 75.68% (56/74) 76.35% 100.00% +7L / +13B 0
src/diagnostic.c ↗ 96.61% (57/59) 56.25% (9/16) 68.33% 100.00% +4L / +1B 0
src/memchr.c ↗ 100.00% (19/19) 100.00% (12/12) 100.00% 100.00% +4L / +2B 0
src/xxh3.c ↗ 87.59% (120/137) 84.38% (27/32) 80.25% 100.00% +4L / +1B 0
src/parser.c ↗ 100.00% (12/12) 75.00% (3/4) 100.00% 100.00% +3L / +0B 0
src/stringy.c ↗ 100.00% (26/26) 75.00% (6/8) 75.00% 100.00% +2L / +1B 0
include/prism/compiler/stack.h ↗ 21.74% (5/23) — 100.00% 100.00% — 0
include/prism/constant_pool.h ↗ 0.00% (0/3) — 0.00% 0.00% — 0
include/prism/integer.h ↗ 91.67% (11/12) 100.00% (2/2) 100.00% 100.00% — 0
include/prism/internal/arena.h ↗ 47.92% (23/48) 40.00% (4/10) 65.00% 75.00% — 0
include/prism/internal/char.h ↗ 0.00% (0/13) — 0.00% 0.00% — 0
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) — 100.00% 100.00% — 0
include/prism/internal/integer.h ↗ 100.00% (6/6) 100.00% (4/4) 100.00% 100.00% +0L / +1B 0
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) — 0.00% 0.00% — 0
include/prism/internal/node.h ↗ 0.00% (0/7) — 0.00% 0.00% — 0
include/prism/internal/parser.h ↗ 100.00% (5/5) 50.00% (1/2) 75.00% 100.00% — 0
src/arena.c ↗ 89.13% (41/46) 37.50% (9/24) 57.35% 100.00% — 0
src/constant_pool.c ↗ 98.84% (171/173) 78.21% (61/78) 77.78% 100.00% +0L / +1B 0
src/list.c ↗ 100.00% (12/12) 100.00% (2/2) 100.00% 100.00% — 0
src/strncasecmp.c ↗ 100.00% (16/16) 91.67% (11/12) 94.44% 100.00% +0L / +1B 0

main-9

afl-fuzz -t 250+ -m none -x ./test/fuzz/dict -G 1024 -i /tmp/afl-tmpdir/main-9/seeds -o ./tmp/fuzz/afl -S main-9 -p mmopt -a text -P exploit -w ./build/fuzz.sand -- ./build/fuzz.native

Schedule: mmopt Stability: 100.00% Samples: 20 Worker llvm-cov HTML ↗
AFL++ Map Coverage
72.11%
12,028 / 16,681 edges
Source Coverage (Originated)
94.91%
34,294 lines • 88.04% branches (+5,693L / +4,375B vs corpus)
Exclusive to main-9
+98L / +37B
lines & branches not hit by any other origin
Throughput
59,969/s
9.23M total execs
Corpus Queue
18,157
+13,615 local, 4,490 synced
Pending (Fav / Total)
546
of 12,294 unfuzzed
Cycles / Max Depth
0
max depth 23
Crashes / Hangs
1096 / 0
Peak RSS: 4 MB
Sync to main
+2,487 (18.4%)
13,515 tested • cursor 14,251/18,157 (78%)
Sync from main
99%
cursor 14,624 / 14,703 in main

Coverage & Edges Discovered

Instrumented edges reached (out of 16,681 total)

edges_found 12,028
10,909 11,210 11,510 11,810 12,111 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s edges_found

Map Density (%)

Bitmap coverage percentage over time (map_size)

map_size 72.11%
65.40% 67.20% 69% 70.81% 72.61% 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s map_size

Queue & Pending Corpus

Total queue size vs. pending unfuzzed and pending favored items

corpus_count 18.2K pending_total 12.3K pending_favs 546
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count pending_total pending_favs

Queue Origin Breakdown (Local vs. Synced)

Total queue split into locally mutated finds, foreign synced imports, and initial seeds

corpus_count 18.2K local_finds 13.6K synced_imports 4,490 initial_seeds 52
0 5,000 10K 15K 20K 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s corpus_count local_finds synced_imports initial_seeds

Synced Imports by Source Fuzzer

Which foreign fuzzers contributed synced queue entries to main-9 over time

from main 1,127 from ldet 3,363
0 1,250 2,500 3,750 5,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s from main from ldet

Execution Speed (execs/sec)

Target executions per second over time

execs_per_sec 46K/s
0/s 25K/s 50K/s 75K/s 100K/s 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s execs_per_sec

Cumulative Executions

Total executions completed by main-9

total_execs 9.23M
0 2.5M 5M 7.5M 10M 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s total_execs

Crashes, Hangs & Queue Depth

Saved crashes, saved hangs, cycles done, and max mutation depth

saved_crashes 1,096 saved_hangs 0 max_depth 23 cycles_done 0
0 500 1,000 1,500 2,000 1m 01s 1m 19s 1m 37s 1m 56s 2m 14s 2m 33s saved_crashes saved_hangs max_depth cycles_done

Crash Lineage Involving main-9 (1,096 Direct Crashes • 19 Forwarded to Peers)

Pathways where main-9 either discovered the crash directly or mutated/forwarded an ancestor queue item that later crashed in another worker.

Lineage Pathway (Origin → Worker Hops → Crash Discoverer) Crashes Queue Parents Root Seeds Max Depth Top Root Seed (Crashes) Parse Animator
▸ corpus→main→main-9
813 (72.9%)
162 57 8 steps heredoc_percent_q_newline_delimiter.txt.rb (302) Prism Loupe ↗
▸ corpus→main-9
233 (20.9%)
98 25 24 steps dash_heredocs.txt.rb (103) Prism Loupe ↗
▸ corpus→ldet→main-9
48 (4.3%)
25 7 8 steps whitequark_and_asgn.txt.rb (24) Prism Loupe ↗
▸ corpus→main-9→ldet
18 (1.6%)
13 8 7 steps dash_heredocs.txt.rb (8) Prism Loupe ↗
▸ corpus→main-6→ldet→main-9
2 (0.2%)
2 1 13 steps 3.3-3.3_return_in_sclass.txt.rb (2) Prism Loupe ↗
▸ corpus→main-9→main→msan
1 (0.1%)
1 1 6 steps keyword_method_names.txt.rb (1) Prism Loupe ↗

Source Coverage by File (Originated by main-9)

Standalone coverage from 15,130 originated inputs. Exclusive source lines (emerald) and branches (sky blue) are shown inline below each file.

Open main-9 llvm-cov HTML ↗
File Line Coverage Branch Coverage Region % Function % Gain vs. Corpus Exclusive to main-9
src/prettyprint.c ↗ 95.35% (7,199/7,550) 83.98% (1,127/1,342) 85.43% 100.00% +631L / +138B
Lines 7946–7993 in prettyprint_node() Open in llvm-cov (#L7948) ↗
7946
            break;
7947
        }
7948 LINE 9xBR → True (9x)
        case PM_SHAREABLE_CONSTANT_NODE: {
7949 LINE 9x
            pm_shareable_constant_node_t *cast = (pm_shareable_constant_node_t *) node;
7950 LINE 9x
            pm_buffer_append_string(output_buffer, "@ ShareableConstantNode (location: ", 35);
7951 LINE 9x
            prettyprint_location(output_buffer, parser, &node->location);
7952 LINE 9x
            pm_buffer_append_string(output_buffer, ")\n", 2);
7954
            // ShareableConstantNodeFlags
7955 LINE 9x
            {
7956 LINE 9x
                pm_buffer_concat(output_buffer, prefix_buffer);
7957 LINE 9x
                pm_buffer_append_string(output_buffer, "+-- ShareableConstantNodeFlags:", 31);
7958 LINE 9x
                bool found = false;
7959 LINE 9xBR → True (9x)
                if (cast->base.flags & PM_SHAREABLE_CONSTANT_NODE_FLAGS_LITERAL) {
7960 LINE 9xBR → False (9x)
                    if (found) pm_buffer_append_byte(output_buffer, ',');
7961 LINE 9x
                    pm_buffer_append_string(output_buffer, " literal", 8);
7962 LINE 9x
                    found = true;
7963 LINE 9x
                }
7964 LINE 9xBR → False (9x)
                if (cast->base.flags & PM_SHAREABLE_CONSTANT_NODE_FLAGS_EXPERIMENTAL_EVERYTHING) {
7965
                    if (found) pm_buffer_append_byte(output_buffer, ',');
7966
                    pm_buffer_append_string(output_buffer, " experimental_everything", 24);
7967
                    found = true;
7968
                }
7969 LINE 9xBR → False (9x)
                if (cast->base.flags & PM_SHAREABLE_CONSTANT_NODE_FLAGS_EXPERIMENTAL_COPY) {
7970
                    if (found) pm_buffer_append_byte(output_buffer, ',');
7971
                    pm_buffer_append_string(output_buffer, " experimental_copy", 18);
7972
                    found = true;
7973
                }
7974 LINE 9xBR → False (9x)
                if (!found) pm_buffer_append_string(output_buffer, " nil", 4);
7975 LINE 9x
                pm_buffer_append_byte(output_buffer, '\n');
7976 LINE 9x
            }
7978
            // write
7979 LINE 9x
            {
7980 LINE 9x
                pm_buffer_concat(output_buffer, prefix_buffer);
7981 LINE 9x
                pm_buffer_append_string(output_buffer, "+-- write:", 10);
7982 LINE 9x
                pm_buffer_append_byte(output_buffer, '\n');
7984 LINE 9x
                size_t prefix_length = prefix_buffer->length;
7985 LINE 9x
                pm_buffer_append_string(prefix_buffer, "    ", 4);
7986 LINE 9x
                pm_buffer_concat(output_buffer, prefix_buffer);
7987 LINE 9x
                prettyprint_node(output_buffer, parser, (pm_node_t *) cast->write, prefix_buffer);
7988 LINE 9x
                prefix_buffer->length = prefix_length;
7989 LINE 9x
            }
7991 LINE 9x
            break;
7992
        }
7993
        case PM_SINGLETON_CLASS_NODE: {
src/prism.c ↗ 97.09% (14,386/14,817) 89.58% (9,134/10,197) 89.80% 99.66% +2,528L / +2,269B
Lines 864–874 in pm_parser_scope_shareable_constant_get() Open in llvm-cov (#L866) ↗
864
 */
865
static void
866 LINE 17x
pm_parser_scope_shareable_constant_set(pm_parser_t *parser, pm_shareable_constant_value_t shareable_constant) {
867 LINE 17x
    pm_scope_t *scope = parser->current_scope;
868

869 LINE 26x
    do {
870 LINE 26x
        scope->shareable_constant = shareable_constant;
871 LINE 26x!scope->closed → True (9x)!scope->closed → False (17x)(scope = scope->previous) != NULL → True (9x)
    } while (!scope->closed && (scope = scope->previous) != NULL);
872 LINE 17x
}
873

874
/******************************************************************************/
Lines 2178–2182 in pm_local_is_keyword() Open in llvm-cov (#L2180) ↗
2178
                case 'n': KEYWORD("next"); return false;
2179
                case 'r': KEYWORD("redo"); return false;
2180 memcmp(source, name, length) == 0 → True (1x)
                case 's': KEYWORD("self"); return false;
2181
                case 't': KEYWORD("then");  KEYWORD("true"); return false;
2182
                case 'w': KEYWORD("when"); return false;
Lines 6311–6323 in pm_self_node_create() Open in llvm-cov (#L6313) ↗
6311
 */
6312
static pm_shareable_constant_node_t *
6313 LINE 9x
pm_shareable_constant_node_create(pm_parser_t *parser, pm_node_t *write, pm_shareable_constant_value_t value) {
6314 LINE 9x
    return pm_shareable_constant_node_new(
6315 LINE 9x
        parser->arena,
6316 LINE 9x
        ++parser->node_id,
6317 LINE 9x
        (pm_node_flags_t) value,
6318 LINE 9x
        PM_LOCATION_INIT_NODE(write),
6319 LINE 9x
        write
6320 LINE 9x
    );
6321 LINE 9x
}
6323
/**
Lines 7827–7842 in parser_lex_magic_comment() Open in llvm-cov (#L7829) ↗
7827
                if (parser_magic_comment_key_p(key_start, key_length, "shareable_constant_value")) {
7828
                    const uint8_t *cursor = parser->current.start;
7829 BR → True (1x)
                    while ((cursor > parser->start) && ((cursor[-1] == ' ') || (cursor[-1] == '\t'))) cursor--;
7831
                    if (!((cursor == parser->start) || (cursor[-1] == '\n'))) {
7832
                        pm_parser_warn_token(parser, &parser->current, PM_WARN_SHAREABLE_CONSTANT_VALUE_LINE);
7833 BR → True (3x)
                    } else if (value_length == 4 && pm_strncasecmp(value_start, (const uint8_t *) "none", 4) == 0) {
7834 LINE 3x
                        pm_parser_scope_shareable_constant_set(parser, PM_SCOPE_SHAREABLE_CONSTANT_NONE);
7835 BR → True (10x)
                    } else if (value_length == 7 && pm_strncasecmp(value_start, (const uint8_t *) "literal", 7) == 0) {
7836 LINE 10x
                        pm_parser_scope_shareable_constant_set(parser, PM_SCOPE_SHAREABLE_CONSTANT_LITERAL);
7837 BR → True (3x)
                    } else if (value_length == 23 && pm_strncasecmp(value_start, (const uint8_t *) "experimental_everything", 23) == 0) {
7838 LINE 3x
                        pm_parser_scope_shareable_constant_set(parser, PM_SCOPE_SHAREABLE_CONSTANT_EXPERIMENTAL_EVERYTHING);
7839 BR → True (1x)
                    } else if (value_length == 17 && pm_strncasecmp(value_start, (const uint8_t *) "experimental_copy", 17) == 0) {
7840 LINE 1x
                        pm_parser_scope_shareable_constant_set(parser, PM_SCOPE_SHAREABLE_CONSTANT_EXPERIMENTAL_COPY);
7841
                    } else {
7842
                        PM_PARSER_WARN_TOKEN_FORMAT(
Lines 13461–13467 in parse_shareable_constant_write() Open in llvm-cov (#L13463) ↗
13461
    pm_shareable_constant_value_t shareable_constant = pm_parser_scope_shareable_constant_get(parser);
13463 BR → True (9x)
    if (shareable_constant != PM_SCOPE_SHAREABLE_CONSTANT_NONE) {
13464 LINE 9x
        return UP(pm_shareable_constant_node_create(parser, write, shareable_constant));
13465 LINE 9x
    }
13467
    return write;
Lines 18320–18324 in ensure_valid_yield() Open in llvm-cov (#L18322) ↗
18320
            case PM_CONTEXT_ELSIF:
18321
            case PM_CONTEXT_EMBEXPR:
18322 BR → True (1x)
            case PM_CONTEXT_FOR_INDEX:
18323
            case PM_CONTEXT_FOR:
18324
            case PM_CONTEXT_IF:
Lines 22694–22698 in parse_expression_infix() Open in llvm-cov (#L22696) ↗
22694
                case PM_OR_NODE: {
22695
                    pm_or_node_t *cast = (pm_or_node_t *) node;
22696 (PM_NODE_TYPE(node_) == (type_)) → True (3x)
                    if (PM_NODE_TYPE_P(cast->right, PM_MATCH_PREDICATE_NODE) || PM_NODE_TYPE_P(cast->right, PM_MATCH_REQUIRED_NODE)) {
22697
                        PM_PARSER_ERR_TOKEN_FORMAT(parser, &operator, PM_ERR_EXPECT_EOL_AFTER_STATEMENT, pm_token_str(operator.type));
22698
                    }
Lines 22891–22895 in parse_expression_terminator() Open in llvm-cov (#L22893) ↗
22891
                pm_rescue_modifier_node_t *cast = (pm_rescue_modifier_node_t *) node;
22892
                pm_node_t *rescue_expression = cast->rescue_expression;
22893 (PM_NODE_TYPE(node_) == (type_)) → True (1x)
                return PM_NODE_TYPE_P(rescue_expression, PM_MATCH_REQUIRED_NODE) || PM_NODE_TYPE_P(rescue_expression, PM_MATCH_PREDICATE_NODE);
22894
            }
22895
            return false;
src/json.c ↗ 92.07% (3,934/4,273) 83.60% (1,060/1,268) 88.04% 100.00% +374L / +128B
Lines 5015–5053 in pm_dump_json() Open in llvm-cov (#L5017) ↗
5015
            break;
5016
        }
5017 LINE 9xBR → True (9x)
        case PM_SHAREABLE_CONSTANT_NODE: {
5018 LINE 9x
            pm_buffer_append_string(buffer, "{\"type\":\"ShareableConstantNode\",\"location\":", 43);
5020 LINE 9x
            const pm_shareable_constant_node_t *cast = (const pm_shareable_constant_node_t *) node;
5021 LINE 9x
            pm_dump_json_location(buffer, &cast->base.location);
5023
            // Dump the ShareableConstantNodeFlags field
5024 LINE 9x
            pm_buffer_append_byte(buffer, ',');
5025 LINE 9x
            pm_buffer_append_string(buffer, "\"flags\":", 8);
5026 LINE 9x
            size_t flags = 0;
5027 LINE 9x
            pm_buffer_append_byte(buffer, '[');
5028 LINE 9x((PM_NODE_FLAGS(node_) & (flag_)) != 0) → True (9x)
            if (PM_NODE_FLAG_P(cast, PM_SHAREABLE_CONSTANT_NODE_FLAGS_LITERAL)) {
5029 LINE 9xBR → False (9x)
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
5030 LINE 9x
                pm_buffer_append_string(buffer, "\"LITERAL\"", 9);
5031 LINE 9x
                flags++;
5032 LINE 9x
            }
5033 LINE 9x((PM_NODE_FLAGS(node_) & (flag_)) != 0) → False (9x)
            if (PM_NODE_FLAG_P(cast, PM_SHAREABLE_CONSTANT_NODE_FLAGS_EXPERIMENTAL_EVERYTHING)) {
5034
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
5035
                pm_buffer_append_string(buffer, "\"EXPERIMENTAL_EVERYTHING\"", 25);
5036
                flags++;
5037
            }
5038 LINE 9x((PM_NODE_FLAGS(node_) & (flag_)) != 0) → False (9x)
            if (PM_NODE_FLAG_P(cast, PM_SHAREABLE_CONSTANT_NODE_FLAGS_EXPERIMENTAL_COPY)) {
5039
                if (flags != 0) pm_buffer_append_byte(buffer, ',');
5040
                pm_buffer_append_string(buffer, "\"EXPERIMENTAL_COPY\"", 19);
5041
                flags++;
5042
            }
5043 LINE 9x
            pm_buffer_append_byte(buffer, ']');
5045
            // Dump the write field
5046 LINE 9x
            pm_buffer_append_byte(buffer, ',');
5047 LINE 9x
            pm_buffer_append_string(buffer, "\"write\":", 8);
5048 LINE 9x
            pm_dump_json(buffer, parser, (const pm_node_t *) cast->write);
5050 LINE 9x
            pm_buffer_append_byte(buffer, '}');
5051 LINE 9x
            break;
5052
        }
5053
        case PM_SINGLETON_CLASS_NODE: {
src/node.c ↗ 99.96% (2,341/2,342) 78.49% (730/930) 76.42% 100.00% +152L / +42B
Lines 1588–1599 in pm_visit_child_nodes() Open in llvm-cov (#L1590) ↗
1588
        case PM_SELF_NODE:
1589
            break;
1590 LINE 18xBR → True (18x)
        case PM_SHAREABLE_CONSTANT_NODE: {
1591 LINE 18x
            const pm_shareable_constant_node_t *cast = (const pm_shareable_constant_node_t *) node;
1593
            // Visit the write field
1594 LINE 18xBR → False (18x)
            if (!pm_visit_node((const pm_node_t *) cast->write, visitor, data)) return false;
1596 LINE 18x
            break;
1597 LINE 18x
        }
1598
        case PM_SINGLETON_CLASS_NODE: {
1599
            const pm_singleton_class_node_t *cast = (const pm_singleton_class_node_t *) node;
Lines 4060–4073 in pm_self_node_new() Open in llvm-cov (#L4062) ↗
4060
 */
4061
pm_shareable_constant_node_t *
4062 LINE 9x
pm_shareable_constant_node_new(pm_arena_t *arena, uint32_t node_id, pm_node_flags_t flags, pm_location_t location, struct pm_node *write) {
4063 LINE 9x
    pm_shareable_constant_node_t *node = (pm_shareable_constant_node_t *) pm_arena_alloc(arena, sizeof(pm_shareable_constant_node_t), PRISM_ALIGNOF(pm_shareable_constant_node_t));
4065 LINE 9x
    *node = (pm_shareable_constant_node_t) {
4066 LINE 9x
        .base = { .type = PM_SHAREABLE_CONSTANT_NODE, .flags = flags, .node_id = node_id, .location = location },
4067 LINE 9x
        .write = write
4068 LINE 9x
    };
4070 LINE 9x
    return node;
4071 LINE 9x
}
4073
/**
src/serialize.c ↗ 88.25% (2,065/2,340) 98.74% (785/795) 97.99% 100.00% +134L / +39B
Lines 833–840 in pm_serialize_node() Open in llvm-cov (#L835) ↗
833
                    break;
834
                }
835 LINE 9xBR → True (9x)
                case PM_SHAREABLE_CONSTANT_NODE: {
836 LINE 9x
                    const pm_shareable_constant_node_t *cast = (const pm_shareable_constant_node_t *) node;
837 LINE 9x
                    pm_serialize_stack_push(&stack, PM_SERIALIZE_ENTRY_NODE, (const pm_node_t *) cast->write, 0);
838 LINE 9x
                    break;
839
                }
840
                case PM_SINGLETON_CLASS_NODE: {
Lines 2169–2175 in pm_serialize_node() Open in llvm-cov (#L2171) ↗
2169
                break;
2170
            }
2171 LINE 9xBR → True (9x)
            case PM_SHAREABLE_CONSTANT_NODE: {
2172 LINE 9x
                pm_buffer_append_varuint(buffer, (uint32_t) node->flags);
2173 LINE 9x
                break;
2174
            }
2175
            case PM_SINGLETON_CLASS_NODE: {
src/buffer.c ↗ 99.55% (223/224) 86.41% (89/103) 85.08% 100.00% +29L / +12B
Lines 379–389 in pm_buffer_insert() Open in llvm-cov (#L381) ↗
379
    PRISM_ASSERT(index <= buffer->length);
380

381 BR → False (4x)
    if (index == buffer->length) {
382
        pm_buffer_append_string(buffer, value, length);
383
    } else {
384 LINE 4x
        pm_buffer_append_zeroes(buffer, length);
385 LINE 4x
        memmove(buffer->value + index + length, buffer->value + index, buffer->length - length - index);
386 LINE 4x
        memcpy(buffer->value + index, value, length);
387 LINE 4x
    }
388
}
389

src/encoding.c ↗ 96.93% (506/522) 92.86% (1,105/1,190) 97.33% 100.00% +211L / +603B
Lines 649–653 in pm_cesu_8_codepoint() Open in llvm-cov (#L651) ↗
649
    }
650

651 BR → False (9x)
    if (n > 5 && b[0] == 0xED && b[1] >= 0xA0 && b[1] <= 0xAF && b[2] >= 0x80 && b[2] <= 0xBF && b[3] == 0xED && b[4] >= 0xB0 && b[4] <= 0xBF && b[5] >= 0x80 && b[5] <= 0xBF) {
652
        *width = 6;
653

Lines 676–682 in pm_cesu_8_codepoint() Open in llvm-cov (#L678) ↗
676
static size_t
677
pm_encoding_cesu_8_char_width(const uint8_t *b, ptrdiff_t n) {
678 BR → True (1x)
    if (n == 0) {
679 LINE 1x
        return 0;
680 LINE 1x
    }
681

682
    size_t width;
Lines 2251–2255 in pm_encoding_euc_jp_char_width() Open in llvm-cov (#L2253) ↗
2251
pm_encoding_euc_jp_char_width(const uint8_t *b, ptrdiff_t n) {
2252
    // These are the single byte characters.
2253 BR → False (1x)
    if ((n > 0) && (*b < 0x80)) {
2254
        return 1;
2255
    }
Lines 2531–2535 in pm_encoding_gbk_char_width() Open in llvm-cov (#L2533) ↗
2531
            ((b[0] >= 0x81 && b[0] <= 0xA0) && (b[1] >= 0x40 && b[1] <= 0xFE) && (b[1] != 0x7F)) || // GBK/3
2532
            ((b[0] >= 0xAA && b[0] <= 0xFE) && (b[1] >= 0x40 && b[1] <= 0xA0) && (b[1] != 0x7F)) || // GBK/4
2533 BR → False (2x)
            ((b[0] >= 0xA8 && b[0] <= 0xA9) && (b[1] >= 0x40 && b[1] <= 0xA0) && (b[1] != 0x7F)) || // GBK/5
2534
            ((b[0] >= 0xAA && b[0] <= 0xAF) && (b[1] >= 0xA1 && b[1] <= 0xFE)) || // user-defined 1
2535
            ((b[0] >= 0xF8 && b[0] <= 0xFE) && (b[1] >= 0xA1 && b[1] <= 0xFE)) || // user-defined 2
src/static_literals.c ↗ 80.72% (293/363) 74.91% (215/287) 64.80% 94.12% +160L / +120B
Lines 481–485 in pm_static_literal_inspect() Open in llvm-cov (#L483) ↗
481
                if (pm_buffer_index(buffer, '.') == SIZE_MAX) {
482
                    size_t exponent_index = pm_buffer_index(buffer, 'e');
483 BR → False (4x)
                    size_t index = exponent_index == SIZE_MAX ? pm_buffer_length(buffer) : exponent_index;
484
                    pm_buffer_insert(buffer, index, ".0", 2);
485
                }
Lines 521–526 in pm_static_literal_inspect() Open in llvm-cov (#L523) ↗
521

522
            if (PM_NODE_FLAG_P(node, PM_REGULAR_EXPRESSION_FLAGS_MULTI_LINE)) pm_buffer_append_string(buffer, "m", 1);
523 ((PM_NODE_FLAGS(node_) & (flag_)) != 0) → True (49x)
            if (PM_NODE_FLAG_P(node, PM_REGULAR_EXPRESSION_FLAGS_IGNORE_CASE)) pm_buffer_append_string(buffer, "i", 1);
524 ((PM_NODE_FLAGS(node_) & (flag_)) != 0) → True (3x)
            if (PM_NODE_FLAG_P(node, PM_REGULAR_EXPRESSION_FLAGS_EXTENDED)) pm_buffer_append_string(buffer, "x", 1);
525
            if (PM_NODE_FLAG_P(node, PM_REGULAR_EXPRESSION_FLAGS_ASCII_8BIT)) pm_buffer_append_string(buffer, "n", 1);
526

src/regexp.c ↗ 96.46% (982/1,018) 92.82% (750/808) 94.82% 97.14% +481L / +443B
Lines 358–362 in pm_regexp_parse_range_quantifier() Open in llvm-cov (#L360) ↗
358
            case PM_REGEXP_RANGE_QUANTIFIER_STATE_COMMA:
359
                switch (*parser->cursor) {
360 BR → True (8x)
                    case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9':
361
                        parser->cursor++;
362
                        state = PM_REGEXP_RANGE_QUANTIFIER_STATE_MAXIMUM;
src/tokens.c ↗ 93.68% (326/348) 93.54% (333/356) 78.74% 100.00% +309L / +154B 0
src/comments.c ↗ 100.00% (224/224) 95.59% (130/136) 94.59% 100.00% +224L / +130B 0
src/double.c ↗ 95.67% (221/231) 80.95% (170/210) 77.51% 100.00% +156L / +104B 0
src/integer.c ↗ 81.11% (262/323) 68.83% (159/231) 65.51% 83.33% +89L / +61B 0
src/strpbrk.c ↗ 98.80% (165/167) 91.30% (84/92) 89.82% 100.00% +50L / +37B 0
src/errors_format.c ↗ 92.99% (305/328) 86.60% (168/194) 85.49% 100.00% +47L / +40B 0
src/options.c ↗ 72.27% (86/119) 38.10% (16/42) 59.81% 95.00% +40L / +7B 0
src/bignum.c ↗ 34.29% (24/70) 18.18% (4/22) 22.39% 41.67% +24L / +4B 0
src/line_offset_list.c ↗ 100.00% (52/52) 100.00% (12/12) 100.00% 100.00% +19L / +6B 0
src/char.c ↗ 100.00% (89/89) 95.00% (38/40) 98.78% 100.00% +9L / +14B 0
include/prism/internal/bignum.h ↗ 78.22% (79/101) 75.68% (56/74) 76.35% 100.00% +7L / +13B 0
src/diagnostic.c ↗ 96.61% (57/59) 56.25% (9/16) 68.33% 100.00% +4L / +1B 0
src/memchr.c ↗ 100.00% (19/19) 100.00% (12/12) 100.00% 100.00% +4L / +2B 0
src/xxh3.c ↗ 87.59% (120/137) 84.38% (27/32) 80.25% 100.00% +4L / +1B 0
src/parser.c ↗ 100.00% (12/12) 75.00% (3/4) 100.00% 100.00% +3L / +0B 0
src/arena.c ↗ 93.48% (43/46) 45.83% (11/24) 66.18% 100.00% +2L / +2B 0
src/stringy.c ↗ 100.00% (26/26) 75.00% (6/8) 75.00% 100.00% +2L / +1B 0
include/prism/compiler/stack.h ↗ 21.74% (5/23) — 100.00% 100.00% — 0
include/prism/constant_pool.h ↗ 0.00% (0/3) — 0.00% 0.00% — 0
include/prism/integer.h ↗ 91.67% (11/12) 100.00% (2/2) 100.00% 100.00% — 0
include/prism/internal/arena.h ↗ 47.92% (23/48) 50.00% (5/10) 75.00% 75.00% +0L / +1B 0
include/prism/internal/char.h ↗ 0.00% (0/13) — 0.00% 0.00% — 0
include/prism/internal/constant_pool.h ↗ 100.00% (6/6) — 100.00% 100.00% — 0
include/prism/internal/integer.h ↗ 100.00% (6/6) 100.00% (4/4) 100.00% 100.00% +0L / +1B 0
include/prism/internal/line_offset_list.h ↗ 0.00% (0/11) — 0.00% 0.00% — 0
include/prism/internal/node.h ↗ 0.00% (0/7) — 0.00% 0.00% — 0
include/prism/internal/parser.h ↗ 100.00% (5/5) 50.00% (1/2) 75.00% 100.00% — 0
src/constant_pool.c ↗ 98.84% (171/173) 78.21% (61/78) 77.78% 100.00% +0L / +1B 0
src/list.c ↗ 100.00% (12/12) 100.00% (2/2) 100.00% 100.00% — 0
src/strncasecmp.c ↗ 100.00% (16/16) 91.67% (11/12) 94.44% 100.00% +0L / +1B 0