Files
prjxray/tools
Carlos Venegas Arrabé 89cad4ca98 bitread: keep the bitstream bytes alive until they are parsed
fcd561fb ('fix build with recent gcc') turned in_bytes from a copying
std::vector into an absl::Span, but left both byte owners scoped to
their if/else blocks: the MemoryMappedFile was destroyed (munmap) and
the stdin vector freed before absl::visit parsed the bitstream.  Every
bitread invocation since then crashes with SIGSEGV in the sync-word
search over unmapped memory -- which also takes bit2fasm down with it.

Hoist the owners to function scope so they outlive the parse.
2026-08-11 21:33:10 +02:00
..
2017-12-20 22:46:39 +01:00
2020-12-01 15:48:12 +01:00