Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C problem

Name: Anonymous 2007-04-10 13:40 ID:YqaTtdxC


main() {
"example";
}


What happends here? Is the string example pushed somewhere?

Name: Anonymous 2007-04-10 13:59 ID:bft/vtSP

Compiled with -ggdb.
08048324 <main>:
main() {
 8048324:       8d 4c 24 04             lea    0x4(%esp),%ecx
 8048328:       83 e4 f0                and    $0xfffffff0,%esp
 804832b:       ff 71 fc                pushl  0xfffffffc(%ecx)
 804832e:       55                      push   %ebp
 804832f:       89 e5                   mov    %esp,%ebp
 8048331:       51                      push   %ecx
"example";
}
 8048332:       59                      pop    %ecx
 8048333:       5d                      pop    %ebp
 8048334:       8d 61 fc                lea    0xfffffffc(%ecx),%esp
 8048337:       c3                      ret
 8048338:       90                      nop
 8048339:       90                      nop
 804833a:       90                      nop
 804833b:       90                      nop
 804833c:       90                      nop
 804833d:       90                      nop
 804833e:       90                      nop
 804833f:       90                      nop

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List