News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

New Solar Assembler version released/updated

Started by BogdanOntanu, October 31, 2012, 08:50:58 AM

Previous topic - Next topic

BogdanOntanu

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 ;)
Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

hutch--

This is looking good Bogdan, I built the 32 bit examples and they all work fine. Assembler appears to be fast as well.  :t

BogdanOntanu

Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

wjr

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.

BogdanOntanu

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 ;)
Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

BogdanOntanu

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

Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

wjr

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).

BogdanOntanu

Hi wjr,

Thank you for testing and for information.

I will investigate and fix those issues fast ;)
Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

BogdanOntanu

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.
Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

wjr

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.

BogdanOntanu

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.
Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

GoneFishing

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)
;-)

TBRANSO1

This is fascinating, I went to the site, what is it's current status?