Skip to content

Instantly share code, notes, and snippets.

@crowell
Last active February 18, 2016 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crowell/9952fa514e8b861e5d66 to your computer and use it in GitHub Desktop.
Save crowell/9952fa514e8b861e5d66 to your computer and use it in GitHub Desktop.

clang

(gdb) x/50x __init_array_start 
0x40cbe0 <frame_dummy>: 0x883d8348      0x000100ff      0x00b81e74      0x48000000
0x40cbf0 <frame_dummy+16>:      0x1474c085      0xcb70bf55      0x89480141      0x5dd0ffe5
0x40cc00 <frame_dummy+32>:      0xffff7be9      0x001f0fff      0xffff73e9      0x909090ff
0x40cc10 <main>:        0x41574155      0x41554156      0x81485354      0x000218ec

gcc

(gdb) x/50x __init_array_start 
0x40bea0 <frame_dummy>: 0xc03d8348      0x00010176      0x00b81e74      0x48000000
0x40beb0 <frame_dummy+16>:      0x1474c085      0x3568bf55      0x89480142      0x5dd0ffe5
0x40bec0 <frame_dummy+32>:      0xffff7be9      0x001f0fff      0xffff73e9      0x001f0fff
0x40bed0 <ngx_set_env>: 0xfb894853      0xa8ba8d48      0xe8000000      0x00002e11
0x40bee0 <ngx_set_env+16>:      0x48c08949      0xffffc0c7      0x854dffff      0x485b74c0
0x40bef0 <ngx_set_env+32>:      0x4808438b      0x8b48108b      0x8b481072      0x8949187a
0x40bf00 <ngx_set_env+48>:      0x78894930      0x4a8b4808      0xc9854810      0x8b483774
0x40bf10 <ngx_set_env+64>:      0x00ba1872      0x80000000      0x19753d3e      0x3c8008eb
0x40bf20 <ngx_set_env+80>:      0x11753d16      0x00ba05eb      0x49000000      0x00b81089
0x40bf30 <ngx_set_env+96>:      0xeb000000      0xc2834815      0xca394801      0x00b8e075
0x40bf40 <ngx_set_env+112>:     0xeb000000      0x0000b805      0xc35b0000      0x83485355
0x40bf50 <ngx_set_cpu_affinity+4>:      0x894808ec      0xf6c0b8d3      0x834800cb      0x0f00507a
0x40bf60 <ngx_set_cpu_affinity+20>:     0x0001be85      0xfd894800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment