Haxxoring the elf format for 1k/4k stuff
category: code [glöplog]
Note: The 'GetLinkMap' function is just there for reference, the r_debug structure actually lies at a fixed address in the process image, I don't know how to reliably calculate it at compile time without hand crafting the elf header though.
moar :D
step3:
did same topic exists for win32 ?
did same topic exists for win32 ?
There's a video of a seminar about Win32 anatomy by Muhmac, I don't know the url though.
Is this it (the Muhmac video)?
http://in4k.untergrund.net/index.php?title=Ideas_and_techniques_for_smaller_executables_Seminar
http://in4k.untergrund.net/index.php?title=Ideas_and_techniques_for_smaller_executables_Seminar
Step 3: Compare with symbol hashes:
http://pastebin.com/m57cc4efe
Step 4: PROFIT
Step 5:
rewrite the whole thing in assembler (I'll do that later).
Step 6:
Linux world domination! + More Profit
http://pastebin.com/m57cc4efe
Step 4: PROFIT
Step 5:
rewrite the whole thing in assembler (I'll do that later).
Step 6:
Linux world domination! + More Profit
I suppose I should post this link.. contains all the 4k-related seminar contents:
http://in4k.untergrund.net/index.php?title=Seminar_Content
http://in4k.untergrund.net/index.php?title=Seminar_Content
bigcheese, that's the one
One more thing; that source code is just proof of concept to show how to resolve symbols without dlopen and dlsym. The elf you get from compiling that is still 4088 after sstrip-ing...
no - it's not ;)
Okay, it is if you use a version of GCC from >1990 ;)
Thx a lot for these urls, i'll check it
for win32 you just use crinkler - for linux - wait a couple of days ;)
Step 5:
DONE - Sample source later.
DONE - Sample source later.
Step 5 - waiting for parapete :D
WHAAAAT? I'm at work! :)
you shall not visit pouet while at work!
I wanted you to take a look at the tarball first.
I wanted you to take a look at the tarball first.
This is the right step into the right direction, good work. vollkommen unglaublich Herr Las, kommen Sie doch mal in mein Buero =)
Quote:
for win32 you just use crinkler - for linux - wait a couple of days ;)
Expect crinkler works not so pretty with 1k and small stuff...
crinkler will let you 750octets minimum for basic gl/directx init (with shaders) while others techniques can get with something like 550/600 (its only 100 octets more or less but for very small things like 1k it has huge importance...)
himalaya have not been compiled with cinkler that sure
eventho i´m not into linux at all (yet), i´m very happy this topic got resurrected and hopefully it leads to more linux-intros....wanna switch to linux myself at some point !
really sick of windows...would only use it for business afterwards, as sadly everything you can make a living-of is windows-based !
maybe i´ll even get into it enough to help further linux ! who knows ! but would be sth i would invest time into without doubts !
really sick of windows...would only use it for business afterwards, as sadly everything you can make a living-of is windows-based !
maybe i´ll even get into it enough to help further linux ! who knows ! but would be sth i would invest time into without doubts !
Quote:
as sadly everything you can make a living-of is windows-based !
Wrong, you can get a cool last name, like Stallman... stop showering and shaving alltogether, not change clothes in 2 weeks, and just be a loud-mouth idiot, and you can make a living out of GNU/Linux... even travel everywhere to give lectures and have people make photos with you.
:-)