The MASM Forum

Specialised Projects => Assembler/Compiler Technology => Topic started by: BogdanOntanu on October 31, 2012, 08:50:58 AM

Title: New Solar Assembler version released/updated
Post by: BogdanOntanu on October 31, 2012, 08:50:58 AM
Hi all,

I have released a new version of Sol_Asm here:
http://www.oby.ro/sol_asm/files/sol_asm_2012_10_30_v36_10.zip

Mainly 64 bits encodings bug fixes, a few missing 64 bits features have been added and then some more bugs fixing.

The license is free to use for commercial or non commercial purposes but it is not open source ;)
Title: Re: New Solar Assembler version released/updated
Post by: hutch-- on November 02, 2012, 04:54:19 AM
This is looking good Bogdan, I built the 32 bit examples and they all work fine. Assembler appears to be fast as well.  :t
Title: Re: New Solar Assembler version released/updated
Post by: BogdanOntanu on November 02, 2012, 09:54:59 AM
Thanks Hutch ;)
Title: Re: New Solar Assembler version released/updated
Post by: wjr on November 05, 2012, 07:30:43 AM
For the Win64 samples, although they run, the IMAGE_OPTIONAL_HEADER data directory for the EXPORT Table should have 0 for RVA and Size, but other wrong values are being placed there instead.
Title: Re: New Solar Assembler version released/updated
Post by: BogdanOntanu on November 05, 2012, 07:59:15 AM
Quote from: wjr on November 05, 2012, 07:30:43 AM
For the Win64 samples, although they run, the IMAGE_OPTIONAL_HEADER data directory for the EXPORT Table should have 0 for RVA and Size, but other wrong values are being placed there instead.

Thanks for reporting this wjr.

Fixing it as we speak ;)
Title: Re: New Solar Assembler version released/updated
Post by: BogdanOntanu on November 06, 2012, 07:01:04 AM
Fixed in version 0.36.12 from 2012.11.05

http://www.oby.ro/sol_asm/files/sol_asm_2012_10_30_v36_12.zip

Title: Re: New Solar Assembler version released/updated
Post by: wjr on November 14, 2012, 11:09:54 AM
In the IMAGE_OPTIONAL_HEADER data directory for the BASE RELOCATION Table, the Size value is a bit larger than it should be. This table is only present in the 32-bit DLL sample as expected, but is always there for the 64-bit EXE samples (generally wouldn't be, unless the /DYNAMICBASE option was used which also sets the IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE flag).
Title: Re: New Solar Assembler version released/updated
Post by: BogdanOntanu on November 15, 2012, 05:58:12 AM
Hi wjr,

Thank you for testing and for information.

I will investigate and fix those issues fast ;)
Title: Re: New Solar Assembler version released/updated
Post by: BogdanOntanu on November 15, 2012, 09:53:46 AM
BTW...

If you comment out the relocation section like this:

; section "reloc" class_relocs


Then the relocation directory is removed  from the PE64 .exe files.
Title: Re: New Solar Assembler version released/updated
Post by: wjr on November 17, 2012, 06:53:20 AM
A re-source-ful quick fix for that one. Another one though... on the 64-bit side, in the IMAGE_OPTIONAL_HEADER for Major/Minor Image Version, this is really for the application itself (often left at 0000 0000), and shouldn't be the same as the OS or Subsystem Version.
Title: Re: New Solar Assembler version released/updated
Post by: BogdanOntanu on November 17, 2012, 06:58:20 AM
Again thanks for the information and checking / testing. I will fix this also.

I will probably add an option to allow users to setup those minor/major values values as they see fit ;)

And I will also add an /dynamic-base option as needed.
Title: Re: New Solar Assembler version released/updated
Post by: GoneFishing on January 07, 2015, 09:23:03 AM
Does anybody have the latest released version of sol_asm (sol_asm_2012_10_30_v36_12.zip)?
BTW compare the date of initial post of this thread and the record at the bottom of forum's index page:
Quote...   Most Online Ever: 248 (October 31, 2012, 11:10:46 PM)
;-)
Title: Re: New Solar Assembler version released/updated
Post by: TBRANSO1 on January 21, 2019, 05:47:47 AM
This is fascinating, I went to the site, what is it's current status?