Skip to content

Instantly share code, notes, and snippets.

View methodmissing's full-sized avatar

Lourens Naudé methodmissing

View GitHub Profile
0 4258097829 Init_Dir ->
0 4259575092 dir_s_aref ->
0 4259575107 dir_s_aref <-
0 4259575115 rb_push_glob ->
0 4259575124 push_glob ->
0 4259575132 ruby_brace_glob0 ->
0 4259575141 ruby_brace_expand ->
0 4259575151 glob_brace ->
0 4259575159 glob_brace <-
0 4259575166 ruby_glob0 ->
---
- get_pid:
arguments: []
storage: static
desc: get_pid
return: VALUE
- get_ppid:
arguments: []
---
ruby_xmalloc:
arguments:
- long int: ""
storage: ""
desc: ruby_xmalloc
return: void *
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
TYPES = %w( FILE64
rb_atomic_t
OpenFile
pointer
hdr
C_block
sFILE
stack_node
U
Bigint
macbook-pros-computer:mri_instrumentation lourens$ ruby bin/parse /Users/lourens/projects/matzruby/compar.c
TranslationUnit
entities:
- Declaration
type: CustomType
name: "VALUE"
declarators:
- Declarator
name: "rb_mComparable"
- Declaration
racing... Hit Ctrl-C to end.
>> exit
Count,
Probe COUNT
yield_under 1
yield_under_i 1
blk_copy_prev 11
blk_free 12
blk_dup 20
Count,
Probe COUNT
rb_gc_unregister_address 1
add_heap 4
garbage_collect 4
rb_gc_mark_locations 5
rb_mark_tbl 9
rb_global_variable 22
rb_gc_register_address 23
sweep_source_filename 91
213-138-231-176:mri_instrumentation lourens$ ./bin/instrument -c /Users/lourens/projects/superbreak_app/script/console gc
./bin/../lib/mri/instrumentation/runner/base.rb:86: warning: Insecure world writable dir /Users/lourens in PATH, mode 040753
Tracing... Hit Ctrl-C to end.
Loading development environment (Rails 2.3.2)
/Users/lourens/projects/superbreak_app/vendor/rails/railties/lib/commands/console.rb:45: warning: Insecure world writable dir /Users/lourens in PATH, mode 040753
>> exit
Count,
Probe COUNT
rb_gc_unregister_address 1
213-138-231-176:mri_instrumentation lourens$ ./bin/instrument -c /Users/lourens/projects/superbreak_app/script/console cache
./bin/../lib/mri/instrumentation/runner/base.rb:86: warning: Insecure world writable dir /Users/lourens in PATH, mode 040753
Loading development environment (Rails 2.3.2)
/Users/lourens/projects/superbreak_app/vendor/rails/railties/lib/commands/console.rb:45: warning: Insecure world writable dir /Users/lourens in PATH, mode 040753
Tracing... Hit Ctrl-C to end.
>> exit
Count,
Probe COUNT
rb_clear_cache 43