[Nasm-devel] [Bug 3392716] Macro expansion behaviour

Igor Munkin imun at cpan.org
Sun Dec 6 08:34:52 PST 2020


Surfed bugzilla a bit.

On 06.12.20, Igor Munkin wrote:
> Hi, Peter!
> 
> Cyrill some time ago suggested me to switch onto this bug[1], to dive
> more into NASM frontend and preprocessor.
> 
> At first, I tried to reduce the reproducer attached to the ticket, and
> got the one below:
> | $ cat mini-3392716.asm
> | %macro sst
> | %unmacro sst
> | %endmacro
> | sst
> 
> Strictly saying, it reproduces another problem (another heap use after

This is the problem[1] the code above reproduces, but the attached file
differs a bit:
| $ cat test.asm
| %macro foo
| %substr
| %clear
| %endm
| foo

> free is reported by ASAN), but I guess the root cause is the similar.

<snipped>

[1]: https://bugzilla.nasm.us/show_bug.cgi?id=3392555

-- 
Best regards,
IM


More information about the Nasm-devel mailing list