summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c
AgeCommit message (Collapse)Author
2020-03-08Add configuration guard for `MRB_DISABLE_STDIO`dearblue
ref #4576 and ref #4947 * Need MRBAPI functions without `MRB_DISABLE_STDIO`: * mrbgems/mruby-bin-debugger * mrbgems/mruby-bin-mirb * mrbgems/mruby-bin-mrbc * mrbgems/mruby-bin-mruby * mrbgems/mruby-bin-strip * Need `stdio.h`: * mrbgems/mruby-io * mrbgems/mruby-print * Need `snprintf()` in `stdio.h`: * mrbgems/mruby-pack * mrbgems/mruby-sprintf
2020-03-08Remove unnecessary 'stdio.h'; ref #4947dearblue
'stdio.h' is included in 'mruby.h' ('mrbconf.h'). However, keep 'stdio.h' used by mruby-test.
2018-07-10add mrbc option `--remove-lv`yuri
* refactor: move `irep_remove_lv` from `mruby-bin-strip` gem to src/dump and rename to `mrb_irep_remove_lv` * add: mrbc option `--remove-lv` to remove LVAR section
2017-08-12Reduce integer type mismatch warnings in VC.Yukihiro "Matz" Matsumoto
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2014-12-11fix usage messagemurase_syuka
2014-08-04mruby-strip doesn't need mrbgemscremno
Reduces executable size by more than 50% (409->171 KB).
2014-07-12initialize `args` in `parse_args`cremno
2014-07-12coding style adjustmentscremno
2014-07-12rewrite strippingcremno
Previous version ignored some errors, and didn't free memory and close files. Now no memory will be dynamically allocated to simplify error handling. This commit also fixes a wrong check: files[i] = fopen(argv[i], "wb"); if (!ireps[i]) { Improve error messages a bit and add missing newline to one.
2014-07-12check `mrb_open` return valuecremno
2014-05-15move mrb_irep_remove_lv from etc.c to mruby-bin-strip gemYukihiro "Matz" Matsumoto
2014-05-15Implement `LVAR` section removing option in mruby-strip.take_cheeze
2014-02-28add mruby-strip tool to strip irep's debug infotake_cheeze