This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TYPES = %w( FILE64 | |
| rb_atomic_t | |
| OpenFile | |
| pointer | |
| hdr | |
| C_block | |
| sFILE | |
| stack_node | |
| U | |
| Bigint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| ruby_xmalloc: | |
| arguments: | |
| - long int: "" | |
| storage: "" | |
| desc: ruby_xmalloc | |
| return: void * | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - get_pid: | |
| arguments: [] | |
| storage: static | |
| desc: get_pid | |
| return: VALUE | |
| - get_ppid: | |
| arguments: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1 4716462572 st_init_strtable_with_size -> | |
| 1 4716462587 st_init_table_with_size -> | |
| 1 4716462598 new_size -> | |
| 1 4716462611 new_size <- | |
| 1 4716462625 st_init_table_with_size <- | |
| 1 4716462634 st_init_strtable_with_size <- | |
| 1 4716462653 st_init_numtable_with_size -> | |
| 1 4716462662 st_init_table_with_size -> | |
| 1 4716462669 new_size -> | |
| 1 4716462675 new_size <- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifdef HASH_LOG | |
| static int collision = 0; | |
| static int init_st = 0; | |
| static void | |
| stat_col() | |
| { | |
| FILE *f = fopen("/tmp/col", "w"); | |
| fprintf(f, "collision: %d\n", collision); | |
| fclose(f); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "ruby.h" | |
| #include <unistd.h> | |
| #include <stdio.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| #include <errno.h> | |
| #include <signal.h> | |
| #include <fcntl.h> | |
| #ifdef _POSIX_ASYNCHRONOUS_IO | |
| #include <aio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 213-138-233-65:amqp lourens$ ruby -v | |
| ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.5.1] | |
| 213-138-233-65:amqp lourens$ irb | |
| irb(main):001:0> Marshal.dump [] | |
| => "\004\b[\000" | |
| irb(main):002:0> exit | |
| 213-138-233-65:amqp lourens$ jirb | |
| irb(main):001:0> Marshal.load "\004\b[\000" | |
| => [] | |
| irb(main):002:0> exit |