Live data from Hacker News

Elf Hello World

cirosantilli.com

11–20 of 32 posts

Re: Elf Hello World

#11
+ University grades changing + Facebook hack + Email interception hack + Email accounts hack + Grade Changes hack + Website crashed hack + Word Press Blogs hack + Retrieval of lost file/documents + Erase criminal records hack + Databases hack + Sales of Dumps cards of all kinds + Untraceable Ip + Bank accounts hack + Individual computers hack + Websites hack + Control devices remotely hack + Burner Numbers hack + Verified Paypal Accounts hack + Any social media account hack + Android & iPhone Hack + server crashed hack + Text message interception hack + Twitters hack + Skype hack + Credit cards hacker + We can drop money into bank accounts. + credit score hack + blank credit card sale + Hack and use Credit Card to shop online + Monitor any phone and email address + Tap into anybody's call and monitor their conversation CONTACT:hackjam600@gmail.com

Re: Elf Hello World

#12
post #10

Is it just me, or are the author's ears slightly pointed?

I don't know about that, but I did notice the author's photo looks like a passport pic (strict, formal). An unusual thing to include on a personal site, maybe.

Re: Elf Hello World

#14
post #2

It's great, thanks! Thoughts for chapter 2: stuff that often confuses me: PLT, GOT, FDE/CIE.

I love the fact that it's all on one page and uses HTML anchors to get around. It makes it super simple to archive and read up later if the site ever goes down.

Well, you can also fork and git clone it: https://github.com/cirosantilli/cirosantilli.github.io/blob/... :-)

Re: Elf Hello World

#16
post #12
post #10

Is it just me, or are the author's ears slightly pointed?

I don't know about that, but I did notice the author's photo looks like a passport pic (strict, formal). An unusual thing to include on a personal site, maybe.

Yeah, standard booth pic for document format. I don't think I used it in any documents however.

Re: Elf Hello World

#17

Earlier quoted context omitted.

I love the fact that it's all on one page and uses HTML anchors to get around. It makes it super simple to archive and read up later if the site ever goes down.

Well, you can also fork and git clone it: https://github.com/cirosantilli/cirosantilli.github.io/blob/... :-)

Thanks for the article! I'm really enjoying learning this stuff. One thing that came up which doesn't appear very clear is why `ld` continues to set the entrypoint for executables at 0x08048000 when that seems like such an arbitrary number held over from a version of Unix made decades ago. Wouldn't it be better to just get rid of that and start programs at 0x00000001? (leaving 0x0 open for NUL).

Re: Elf Hello World

#18

Earlier quoted context omitted.

Well, you can also fork and git clone it: https://github.com/cirosantilli/cirosantilli.github.io/blob/... :-)

Thanks for the article! I'm really enjoying learning this stuff. One thing that came up which doesn't appear very clear is why `ld` continues to set the entrypoint for executables at 0x08048000 when that seems like such an arbitrary number held over from a version of Unix made decades ago. Wouldn't it be better to just get rid of that and start programs at 0x00000001? (leaving 0x0 open for NUL).

Definitely not. In rough order of importance:

1. Space for NULL should be big enough for at least a medium-sized structure, otherwise (*NULL)->field = blah will overwrite your code. 2. Because of (1), Linux (for example) doesn't even allow processes to map the first page or so of memory. 3. On many platforms the PC needs to be aligned to a word boundary.

Re: Elf Hello World

#19
post #13

My favourite page on ELF executables of all time: http://www.muppetlabs.com/~breadbox/software/tiny/teensy.htm... , "A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux (or, 'Size Is Everything')"

Heya! I followed a long and made a 64 bit version a while back. Great resource for learning ELF.

https://github.com/abraithwaite/teensy

Re: Elf Hello World

#20
post #2

It's great, thanks! Thoughts for chapter 2: stuff that often confuses me: PLT, GOT, FDE/CIE.

Eli Bandersky wrote an excellent series on load-time relocation and position independent code (PIC), including details regarding PLT/GOT:

http://eli.thegreenplace.net/2011/08/25/load-time-relocation...

http://eli.thegreenplace.net/2011/11/03/position-independent...

Post reply on HN