Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created May 1, 2009 20:54
Show Gist options
  • Select an option

  • Save methodmissing/105252 to your computer and use it in GitHub Desktop.

Select an option

Save methodmissing/105252 to your computer and use it in GitHub Desktop.
0000524a calll 0x00010763 ; symbol stub for: _memmove
0000524f decl 0x08(%esi)
00005252 nopl _rb_mem_clear(%eax)
00005259 nopl _rb_mem_clear(%eax)
00005260 movl %edi,%eax
00005262 movl 0xf4(%ebp),%ebx
00005265 movl 0xf8(%ebp),%esi
00005268 movl 0xfc(%ebp),%edi
0000526b leave
0000526c ret
0000526d nopl (%eax)
00005270 testl %ecx,%ecx
00005272 je 0x000052b0
00005274 movl $0x00000004,(%edx)
0000527a movl %esi,%eax
0000527c calll _ary_make_shared
00005281 addl $0x04,0x10(%esi)
00005285 decl 0x08(%esi)
00005288 jmp 0x00005260
0000528a nopw _rb_mem_clear(%eax,%eax)
00005290 movl (%esi),%eax
00005292 testb $0x04,%ah
00005295 jne 0x000052e5
00005297 testb $0x10,%ah
0000529a jne 0x000052f3
0000529c testb $0x01,%ah
0000529f jel 0x00005200
000052a5 jmpl 0x0000520f
000052aa nopw _rb_mem_clear(%eax,%eax)
000052b0 testl $0xfffffffb,%esi
000052b6 je 0x00005274
000052b8 testb $_rb_ary_modify,0x01(%esi)
000052bc jne 0x0000527a
000052be jmp 0x00005274
000052c0 testb $_rb_ary_modify,0x01(%esi)
000052c4 jne 0x0000527a
000052c6 jmpl 0x00005235
000052cb leal 0x102b4-0x51e4(%ebx),%eax
000052d1 movl %eax,0x04(%esp)
000052d5 movl 0x1081f-0x51e4(%ebx),%eax
000052db movl (%eax),%eax
000052dd movl %eax,(%esp)
000052e0 calll 0x00010790 ; symbol stub for: _rb_raise
000052e5 leal 0x10288-0x51e4(%ebx),%eax
000052eb movl %eax,(%esp)
000052ee calll 0x0001074f ; symbol stub for: _rb_error_frozen
000052f3 leal 0x10290-0x51e4(%ebx),%eax
000052f9 movl %eax,0x04(%esp)
000052fd movl 0x10827-0x51e4(%ebx),%eax
00005303 movl (%eax),%eax
00005305 movl %eax,(%esp)
00005308 calll 0x00010790 ; symbol stub for: _rb_raise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment