22 Commits
Author SHA1 Message Date
andrew e8f51eff53 Guard --nobranchprotection behind a version check
Older versions of hardening-check (as shipped by some Ubuntu releases)
don't support --nobranchprotection and error out. Probe --help at
configure time and only add the flag when it's available; old versions
that lack the flag also don't check for branch protection, so omitting
it is safe.
2026-06-14 20:34:29 -04:00
andrew 12c976a62c Fix make build by depending on target name instead of TARGET_OBJECTS in custom command
The Makefile generator does not create a rule for individual object files
when $<TARGET_OBJECTS:...> is used in DEPENDS of add_custom_command. Depending
on the target name instead establishes a proper target-level dependency.
2026-06-14 19:28:47 -04:00
andrew b894ae7a80 Fix arch-specific hardening_check ignore flags
hardening-check tests both CET (x86-only) and branch protection
(arm64-only). Pass the ignore flag for whichever doesn't apply to the
build arch so the test passes on all supported architectures.
2026-06-14 16:31:08 -04:00
andrew eb9925ffec Only pass -pie when linking executables
Passing -pie globally made the driver link Scrt1.o into shared
libraries, which fails with an undefined reference to main.
2026-06-14 16:20:48 -04:00
andrew 6e244d1318 Add packaging and symbol visibility tests
Only tested on x86 linux so far
2025-08-04 12:35:26 -04:00
andrew 35c3e14586 Remove -mavx 2025-06-05 15:38:24 -04:00
andrew 57bdc79ee7 Run tests from source dir to find test.json 2025-06-05 10:37:03 -04:00
andrew f92b33eec3 Fix gcc, add -fno-jump-tables back
It's even faster for some reason
2025-05-25 16:59:43 -04:00
andrew 4240894318 Bring in a bunch of cmake settings from conflict-set 2025-05-24 18:20:36 -04:00
andrew 1217ded8a7 Convert everything to c api 2025-05-24 18:20:36 -04:00
andrew f7ad84a79a Start building library 2025-05-24 18:20:36 -04:00
andrew 41c8fcc30c Fix gcc build 2025-05-22 16:32:45 -04:00
andrew d279173482 Validate utf8 2025-05-18 17:23:22 -04:00
andrew b7f6ed1c9c Wee fuzz test and associated bug fixes 2025-05-18 13:46:00 -04:00
andrew 925429f8e4 Add T_EOF 2025-05-17 17:15:01 -04:00
andrew 733dc576b7 Start organizing code 2025-05-17 12:24:07 -04:00
andrew 318fe49c31 gc sections on linux 2025-05-14 19:55:29 -04:00
andrew 9876afafb2 Add -mavx 2025-05-14 09:28:06 -04:00
andrew 73762b53db Compare to simdjson 2025-05-13 15:01:27 -04:00
andrew b22175e24d Add -fno-omit-frame-pointer 2025-05-12 23:15:21 -04:00
andrew 9e56aa9612 Implement Parser1, simple recursive descent 2025-05-12 13:16:16 -04:00
weaselabandweaselab f1acb2d0a0 Initial commit 2025-05-12 15:14:57 +00:00