by chrisparton1991 · 9y ago · 0 comments
I've seen some crappy clients expect exact strings though.
https://2ton.com.au/rwasa/ is based on https://2ton.com.au/HeavyThing/, a library written for fasm that handles a bunch of cool things including enough crypto to do TLS and enough network code to make a webserver.
Question. I've just started to become interested in learning/messing around with assembly language under Linux, and fasm seems like a really attractive option - as and nasm are both tied to gcc (nasm indirectly), and fasm skips all that (and produces slightly smaller binaries too!). fasm also seems compiles itself in less than a second on my really old machine as well, and fast iteration time is one of my favorite features.
Linux-specific assembly-language documentation is kind of rare on the ground though; for fasm in particular, there's literally hens' teeth and dust bunnies. It's very possible to piece things together, but if you have absolutely no idea what you're doing it's a bit intimidating.
HeavyThing is practically a tutorial in and of itself, but I must admit my hesitancy to lean too heavily on it due to its use of GPLv3. I certainly respect the use of that license (and understand the many reasons it might be used for such a unique project), but I'm only tinkering around myself at this point so would likely want to use MIT, CC0 or similar, and would feel a bit conflicted about the predominant thing I learned from being from GPLv3.
HT is on the list for sure, but I wanted to combine it with other sources of info. You seem to be one of the few people out there actively using fasm for Linux development, so I figured it couldn't hurt to ask if you had any other high-level suggestions.
I could combine this with viewing gcc's assembly output, as well!
Thanks :D
Edit: This page is ridiculously comprehensive. Wow.
But some documentation is available in the "Documentation" section of the web site and inside the "Help|Help file" (Ctrl+F1) menu in the IDE itself.
There are small example and template projects as well.
Also the FASM forum is a good place to ask: https://board.flatassembler.net