ruby/misc
Aaron Patterson 3d474e19fd Rudimentary support for disassembling rb_iseq_t
I need to disassemble instruction sequences while debugging, so I wrote
this.

Usage is like this:

```
(lldb) p iseq
(rb_iseq_t *) $147 = 0x0000000101068400
(lldb) rbdisasm iseq
0000 putspecialobject( 3 )
0002 putnil
0003 defineclass( ID: 0x560b, (rb_iseq_t *)0x1010681d0, 2 )
0007 pop
0008 putspecialobject( 3 )
0010 putnil
0011 defineclass( ID: 0x56eb, (rb_iseq_t *)0x101063b58, 2 )
0015 leave
```

Also thanks a ton to @kivikakk helping me figure out how to navigate LLDB's Python 😆
2020-09-22 13:40:57 -07:00
..
README Partly reverted for ruby-style.el. 2018-09-14 13:19:45 +00:00
expand_tabs.rb Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
lldb_cruby.py add lldb functions for getting the heap page / heap page body 2020-09-02 16:45:54 -07:00
lldb_disasm.py Rudimentary support for disassembling rb_iseq_t 2020-09-22 13:40:57 -07:00
rb_optparse.bash * lib/optparse.rb (OptionParser::Officious): separate completion 2010-12-07 13:31:11 +00:00
rb_optparse.zsh Fixed misspellings 2019-12-20 09:32:42 +09:00
ruby-style.el ruby-style.el: ruby-style-c-mode by VCS [ci skip] 2018-11-27 13:47:49 +00:00
test_lldb_cruby.rb Fix typo in lldb script 2019-04-02 21:13:22 +00:00

README

README             this file
rb_optparse.bash   bash completion script
rb_optparse.zsh    zsh completion script
ruby-style.el      Ruby's C/C++ mode style for emacs
lldb_cruby.py      LLDB port of debug utility
test_lldb_cruby.rb test file for LLDB port