Skip to content

Instantly share code, notes, and snippets.

@sunnyone
Created October 31, 2011 16:39
Show Gist options
  • Select an option

  • Save sunnyone/1327929 to your computer and use it in GitHub Desktop.

Select an option

Save sunnyone/1327929 to your computer and use it in GitHub Desktop.
irc_message.c irc_message_to_string assembled by gcc(x86) (-fno-builtin)
.loc 2 420 0 is_stmt 1
movl 8(%ebp), %eax
movl 36(%eax), %eax
movl -36(%ebp), %edx
sall $2, %edx
addl %edx, %eax
movl (%eax), %eax
movl %eax, (%esp)
call strlen
testl %eax, %eax
je .L96
.loc 2 420 0 is_stmt 0 discriminator 1
movl 8(%ebp), %eax
movl 36(%eax), %eax
movl -36(%ebp), %edx
sall $2, %edx
addl %edx, %eax
movl (%eax), %eax
movl $32, 4(%esp)
movl %eax, (%esp)
call strchr
testl %eax, %eax
jne .L96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment