Problem with big asm files

Peter Johnson peter at tortall.net
Tue Jul 31 22:19:20 PDT 2007


On Mon, 30 Jul 2007, Stefan Sellmer wrote:
> I work currently on some sort of application obfuscation.
>
> i operate in this case on .asm files which are round about 16kb, in this .asm listing i spread all asm commands randomly in the .asm listing and link them again together with jumps...
> When i recompile this listings with nasm it works perfectly, but yasm tells me at some point that it misses labels. But when i look into the listing with a text editor everything looks fine, and as i already mentioned, nasm can operate on this listing....
>
>
> Is there any known issue regarding huge .asm files with many labels ??

Stefan,

Fixed in r1905.  It was a bug in yasm's symbol lookup code that required 
a very big hash collision to trigger.

Thanks for sending me a testcase; it was easy to narrow down with that in 
hand.

Peter


More information about the yasm-devel mailing list