stevens wrote:
> I want to write shellcode under solaris 10,but I found it that solaris 10 
> can't support compile static.How can I get assembly code from source code?

Pass -S to the compiler, works for Sun Studio cc and GCC.

Or if you want asm code out of a binary see dis(1).

I don't see the relationship to static linking.  Solaris does allow 
static linking we just don't ship static archive libraries for the 
system provided libraries.

--
Darren J Moffat
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to