Commit Graph

113 Commits

Author SHA1 Message Date
John Turner
b0311ba813 use lld not ldd 2025-11-30 18:49:49 +00:00
John Turner
94f3397d19 use fs.stem instead of name in tests/meson.build 2025-11-29 16:43:10 +00:00
John Turner
f0ffe5cb2b add porthole test to check_commands.txt 2025-11-28 17:23:15 +00:00
John Turner
327d871c16 add repo parser test 2025-11-28 17:22:16 +00:00
John Turner
7b60034425 use gnu parallel to run pre-commit hook check commands in parallel 2025-11-28 17:16:33 +00:00
John Turner
558e213ab4 add porthole tests to meson 2025-11-28 17:13:47 +00:00
John Turner
ee5b3c8166 bump mon 2025-11-26 19:24:45 +00:00
John Turner
86e2b4559a derive PartialEq and Eq for Atom and Atom related types 2025-11-23 05:18:30 +00:00
John Turner
5be1e5c37a derive Hash for Atom and similar types 2025-11-23 03:30:37 +00:00
John Turner
f8149b43d4 rearrange modules 2025-11-23 02:49:53 +00:00
John Turner
bffc1e88b0 allow "0" as a build-id 2025-11-23 01:34:01 +00:00
John Turner
ffa1a05fc1 remove invalid comment 2025-11-23 01:33:07 +00:00
John Turner
ac1eb15ea7 enable fuzz feature in check.sh 2025-11-22 05:52:53 +00:00
John Turner
de9fd0fbd9 print the remaining input on fuzzer failures 2025-11-22 05:49:45 +00:00
John Turner
9062881692 disallow wildcard after a build-id 2025-11-22 01:20:55 +00:00
John Turner
e9603ce62f represent 4th variant of slots, and disallow empty primary slot names 2025-11-22 01:03:14 +00:00
John Turner
bd0fec80f9 verify that repo names are also valid package names 2025-11-22 00:17:14 +00:00
John Turner
c06360aed6 disallow "+" in repo names 2025-11-22 00:16:09 +00:00
John Turner
64065b753b remove unneeded targets from Cargo.toml 2025-11-21 23:23:57 +00:00
John Turner
9eaf25f8c8 change "test" meson option to "tests" 2025-11-21 23:21:15 +00:00
John Turner
fb69d82e6f build-id must not start with zero 2025-11-21 04:33:55 +00:00
John Turner
bf56ed1c61 remove build-id from control version and reject inputs with it 2025-11-21 02:25:22 +00:00
John Turner
3bce987993 format version build-id 2025-11-20 23:50:47 +00:00
John Turner
360a44d608 port check.sh to use only meson 2025-11-20 23:49:46 +00:00
John Turner
699d4bafd0 update mon and use new ascii parsers 2025-11-20 23:27:41 +00:00
John Turner
ff7d9b312f fix lints 2025-11-19 05:04:44 +00:00
John Turner
ad8a4b838b remove dbg! 2025-11-19 05:04:44 +00:00
John Turner
0d40608404 compare versions as strings rather than parsing them to ints
Parsing version numbers to u64s could cause an panic on int overflow
with very large versions.
2025-11-19 05:04:40 +00:00
John Turner
8d3cf7c83d allow missing panic docs 2025-11-19 05:01:12 +00:00
John Turner
16fdd27e9a compare letters before suffixes, and having a letter is greater than none 2025-11-19 01:17:18 +00:00
John Turner
70e8ea24a8 impl vercmp fuzzer 2025-11-19 01:00:48 +00:00
John Turner
e01637fd3a setup meson to allow building multiple fuzzers easily 2025-11-18 22:43:22 +00:00
John Turner
e0cc7f6a03 dont allow "." in repo names 2025-11-18 04:24:41 +00:00
John Turner
c75a38f615 allow slot to be only :* := :slot/sub= or :slot 2025-11-18 04:15:53 +00:00
John Turner
2dc5df6112 support portage build-id extension 2025-11-18 03:21:44 +00:00
John Turner
e2cc948803 take at least 1 usedep 2025-11-18 02:49:30 +00:00
John Turner
920ec36141 skip atoms that portage denies for having duplicate usedeps 2025-11-18 02:46:59 +00:00
John Turner
2d0a91eb18 check if fuzz input is graphical before decoding it to UTF8 2025-11-18 02:46:33 +00:00
John Turner
46c3c075d1 disallow atoms that end in what could be a valid version 2025-11-18 02:20:57 +00:00
John Turner
78398b7ebe support ::repo syntax 2025-11-18 01:44:45 +00:00
John Turner
db02762ee1 version wildcard comes after the version expression 2025-11-18 01:27:29 +00:00
John Turner
d4fd6cd211 add false positive case to unit tests 2025-11-17 22:58:46 +00:00
John Turner
34362dcb29 in fuzz python process, inherit stderr so we can see python errors 2025-11-17 22:46:09 +00:00
John Turner
dc47258841 reject fuzz inputs with invisible characters 2025-11-17 22:45:41 +00:00
John Turner
63db65b2f0 bump mon for bug fixes 2025-11-17 21:20:40 +00:00
John Turner
b74471706b communicate with python over a pipe to increase fuzzing performance 2025-11-17 20:02:16 +00:00
John Turner
0cc3ac8e84 verify that slot exprs have either a primary slot name or operator 2025-11-17 19:01:39 +00:00
John Turner
803f727082 fixup 2025-11-16 22:22:12 +00:00
John Turner
d04d2d0887 push check.sh 2025-11-16 22:02:27 +00:00
John Turner
b360132b99 generate corpus to fuzz on with meson 2025-11-16 21:57:40 +00:00