7 Commits

Author SHA1 Message Date
Duncan Ogilvie 71b1915a7e Add REMILL_FETCH_SLEIGH option to allow find_package(sleigh) 2026-04-21 09:23:16 -04:00
William Tan 56eee94851 fix control-flow decoding and restore smoketests
Handle the synthetic fallthrough sentinel in Sleigh control-flow analysis without indexing past the end of the pcode ops vector. Also fix the aarch32 smoketest flag spelling in CI and keep Nix checks enabled on Darwin so the smoketests run consistently across environments.
2026-03-31 12:50:19 -04:00
kyle-elliott-tob 70ec62035c ci: shift LLVM version window from 15-21 to 17-22
Comment out subnormal (0x1) test inputs for fcvtzu/fcvtzs double-to-
64-bit-integer tests on AArch64. LLVM 22 misselects the SIMD form
(fcvtzu d,d) which drops FE_INEXACT on subnormal inputs.
Upstream: llvm/llvm-project#178603

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 09:49:25 -04:00
William Tan 62f16fe143 fix: use full version for LLVM 15 clang resource dir
LLVM 16+ changed the resource directory path from lib/clang/<full-version>
(e.g. 15.0.7) to lib/clang/<major> (e.g. 16). Use release_version from
nixpkgs to match the upstream nixpkgs clang wrapper logic (D125860).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 19:09:05 -04:00
Bruno Produit 8fe074f483 update flake to build all llvm versions. Update the github workflow accordingly 2026-03-20 19:09:05 -04:00
Bruno Produit 8dec879226 nix develop and tests running 2026-03-20 19:09:05 -04:00
brunoproduit b32b614ffc flake: add nix flake for building remill
Add a Nix flake that builds remill and its XED dependency
using LLVM 17, with patched Ghidra sources for Sleigh.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 19:09:05 -04:00