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

My OO...

Name: Anonymous 2011-12-13 3:19

...it's violated!

http://programmers.stackexchange.com/questions/17031/when-c-handles-pop-in-your-c-code-and-break-your-pretty-oo-design

Anime avatar. Passive-aggressive rant. Autismal as fuck. That's gotta be someone from /prague/, amirite?

Name: Anonymous 2011-12-15 22:00


x@debian:~/host/prog/p1$ gcc -S anus.c
x@debian:~/host/prog/p1$ gcc anus.s
x@debian:~/host/prog/p1$ ./a.out
Anus
0x400675
4195970
x@debian:~/host/prog/p1$ cat anus.s
    .file    "anus.c"
    .section    .rodata
.LC0:
    .string    "Anus"
.LC1:
    .string    "%p\n"
.LC2:
    .string    "Faggot"
.LC3:
    .string    "%d\n"
.LC4:
    .string    "Hello"
    .text
.globl main
    .type    main, @function
main:
.LFB0:
    .cfi_startproc
    pushq    %rbp
    .cfi_def_cfa_offset 16
    movq    %rsp, %rbp
    .cfi_offset 6, -16
    .cfi_def_cfa_register 6
    movl    $.LC0, %edi
    call    puts
    movl    $.LC1, %eax
    movl    $.LC2, %esi
    movq    %rax, %rdi
    movl    $0, %eax
    call    printf
    movl    $.LC3, %eax
    movl    $.LC4+2, %esi
    movq    %rax, %rdi
    movl    $0, %eax
    call    printf
    movl    $0, %eax
    leave
    ret
    .cfi_endproc
.LFE0:
    .size    main, .-main
    .ident    "GCC: (Debian 4.4.5-8) 4.4.5"
    .section    .note.GNU-stack,"",@progbits

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