<div dir="ltr">Any update to this? Still causing problems for me.</div><div class="gmail_extra"><br><div class="gmail_quote">On 9 October 2017 at 10:34, Samuel Williams <span dir="ltr"><<a href="mailto:space.ship.traveller@gmail.com" target="_blank">space.ship.traveller@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Here is some log output from a build which invokes ragel to generate several parsers. I've cut out (most) unimportant output.</div><div><br></div><div>The source code for the parsers: <a href="https://github.com/kurocha/async-http/tree/master/source/Async/HTTP/V1" target="_blank">https://github.com/<wbr>kurocha/async-http/tree/<wbr>master/source/Async/HTTP/V1</a></div><div><br></div>The results from running Ragel several times with LLVM sanitisers: <a href="https://gist.github.com/ioquatix/2e50ffb09697107338f8f75083400143" target="_blank">https://gist.github.com/<wbr>ioquatix/<wbr>2e50ffb09697107338f8f750834001<wbr>43</a><br><div><br></div><div>The main issue I can see are memory leaks, but there could be other issues.</div><div><br></div><div>Since Ragel is a one-shot "compiler", perhaps it's not important to address these, except as a matter of correctness.<br></div><div><br></div><div>I think there are potential problem with memory leaks and they might be covering up bigger issues - there might be cases where memory is being accessed incorrectly but it's not causing a crash because it's not freed at the right point etc.</div><div><br></div><div>I'd suggest that if there is a test suite for Ragel, it's updated to run with the undefined behaviour sanitiser and address sanitiser - both provide useful output IMHO.</div><div><br></div><div>Happy to provide more feedback.</div><div><br></div><div>Kind regards,</div><div>Samuel</div><div><br></div></div>
</blockquote></div><br></div>