Problem with big asm files
Peter Johnson
peter at tortall.net
Mon Jul 30 19:26:43 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 ??
Yasm has been successfully used with multi-megabyte .asm files containing
thousands of labels. However, these large files are normally the output
of compiler frontends and thus don't have lots of complex overlapping
jumps such as what you describe your tool generating.
It's likely you've found a bug in yasm's jump size optimizer, which is far
more advanced than nasm's. If you send me one of the .asm files you are
having problems with (in private mail is fine), I will work on resolving
the issue you're having.
Thanks,
Peter
More information about the yasm-devel
mailing list