katef / libfsm

DFA regular expression library & friends
BSD 2-Clause "Simplified" License
931 stars 52 forks source link

Add Go support to retest #412

Closed dgryski closed 1 year ago

dgryski commented 1 year ago

Because we cant unload Go shared libraries, this leaks memory causing the PCRE test suite to fail. We need another non-dlopen-based solution. Back to a draft for now, but I will file another PR with the bug this found.

dgryski commented 1 year ago

New version of this PR now disassembles the Go and assembly output, converts it to AT&T, assembles it, and calls it via dlopen with small trampoline.

dgryski commented 1 year ago

I don't understand why these failures aren't deterministic.