Files
mruby-mruby/mrbgems/mruby-bin-debugger/tools/mrdb
Yukihiro "Matz" Matsumoto 2871d0cdc5 Avoid keeping pointers from mrb_sym2name_len(); fix #4342
The addresses for packed inline symbols reference `mrb->symbuf` that
could be overridden by the later call of `mrb_sym2name_len`. Since
file names in call stack information are kept as symbols, keeping the
address in the C structures could cause problems like #4342.

This changes small incompatible changes in function prototypes:
* `mrb_parser_get_filename`: return value changed to `mrb_sym`.
* `mrb_debug_get_filename`: add `mrb_state*` as a first argument.
* `mrb_debug_get_line`: ditto.

I believe above functions are almost internal, and no third-party
mrbgem use them.
2019-04-01 14:13:06 +09:00
..
2017-04-03 16:49:18 +09:00
2019-02-19 18:10:05 +09:00
2019-02-19 18:10:05 +09:00
2019-02-19 18:10:05 +09:00
2019-02-19 18:10:05 +09:00
2019-02-19 18:10:05 +09:00