41 Commits

Author SHA1 Message Date
pancake
9e4dff5294 Add Ll as an alias for #! ##plugins 2019-01-11 15:37:46 +01:00
Paul I
b2c7f7ef6c Some fixes (#12670) 2019-01-07 00:29:23 +01:00
Neven Sajko
4a722e80d8 Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
Maijin
b60a25b914 Add more R2_ prefix for some var 2018-08-07 22:14:54 +02:00
wargio
058f63e599 fixed ldopen on linux 2018-04-21 18:17:48 +02:00
radare
b4b34e98f4
Fix loading of lang-python plugin (#9924)
Otherwise the plugin can't be loaded because of this:

dlerror(~/.config/radare2/plugins/lang_python2.dylib):
dlopen(~/.config/radare2/plugins/lang_python2.dylib, 6):
 Symbol not found: _PyUnicode_1BYTE_DATA
  Referenced from: ~/.config/radare2/plugins/lang_python2.dylib
  Expected in: flat namespace
 in ~/.config/radare2/plugins/lang_python2.dylib
2018-04-20 12:04:56 +02:00
Ayman Khamouma (ak42)
a95f9429d0 fix #9545: allow subsequently loaded cpython modules to access libpython symbols (#9570) 2018-03-05 18:16:34 +08:00
pancake
7f40f36c3a Initial draft implementation of the loader plugins for RBin 2018-01-07 21:54:41 +01:00
Jose Diaz
e74aadad28 Renaming char_to_w32 => utf8_to_utf16 2017-11-03 10:27:18 +08:00
Jose Diaz
527ff71d41 Convert char to windows unicode 2017-11-03 10:27:18 +08:00
pancake
da30f1c80c Fix invalid free with rust core plugin (wip) 2017-09-25 16:05:42 +02:00
pancake
1bfb5ffba2 Fix swprintf crash issue for mingw32 builds 2017-09-18 00:06:23 +02:00
pancake
ec6240da09 Do not load .dSYM plugins 2017-07-27 23:06:03 +02:00
pancake
139e3b8f92 Do not load plugins starting with . and remove newcomp 2017-07-26 16:35:27 +02:00
Fangrui Song
e61f5ef0a0 Add free to RLibStruct & RLibPlugin. (#7991)
radare2-bindings/libr/lang/p/python/anal.c `strdup` fields for
RAnalPlugin and they are not freed upon `r_lib_close`.
This commit adds `free` to RLibStruct & RLibPlugin with which
plugins can set their custom destructors (to free those `strdup`
fields).
2017-07-23 23:35:45 +02:00
Xiangyu Zhu
bc3555b833 Modify RLang plugins for Py2/py3 support
* Add alias field
* use RTLD_LOCAL
2017-05-28 01:50:08 +02:00
Ayman Khamouma
29aae4dd9b Fix multiple plugins loading support (#7584) 2017-05-24 12:17:20 +02:00
Ayman Khamouma
14f93d72d9 temporarly only check handler when using it (#7583) 2017-05-24 00:33:43 +02:00
pancake
079fb3e379 Fix #7559 - Fix possible null deref in r_lib_open_ptr 2017-05-23 15:26:17 +02:00
SkUaTeR
beb80cfc16 Fixes for MSVC 2017-05-09 23:53:20 +02:00
Marcel
a4fc91f29b Remove dirent.h dependency for Windows and add utf16<->utf8 conversion function 2017-04-15 13:07:33 +02:00
maba
459db13ef5 Remove dirent.h dependency in r_lib_opendir for windows 2017-04-11 17:13:46 +02:00
davidpolverari
1fb422b532 Fix #6162 - Renames r_str_concat to r_str_append 2017-03-16 22:29:49 +01:00
pancake
a50dd5ecbb Show 'release' instead of '9999999' in r2 -v 2017-01-29 15:25:14 +01:00
pancake
56f5c29d64 Fix asm.dwarf, add asm.dwarf.{file,abspath} 2016-11-22 23:59:04 +01:00
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
pancake
77f19155b4 Fix io.self dlsym for r_lib_dl_open 2016-07-30 14:15:29 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
pancake
1f7db90e41 Priorize keystone plugins and other random changes 2016-05-02 02:46:01 +02:00
pancake
490689c3ac Fix r_lib_type to string 2016-02-23 13:10:35 +01:00
dequis
773b9b85b3 r_lib_close: close all the plugins when freeing, not just the first
This fixes a leak when there's more than one plugin.
2015-08-30 23:20:51 +02:00
pancake
04a2718657 Add version field in plugins, and check it before loading 2015-06-21 10:09:12 +02:00
pancake
84342ea223 Little split of the RLib logic 2014-07-30 11:14:30 +02:00
pancake
50e8e0e507 Add 'lp' command to 'load plugins' + some work on 'bin.laddr' 2014-07-30 11:14:26 +02:00
pancake
dfb9d11474 Initial implementation of the new ESIL. (RPNESIL)
Use the 's' key with static analysis to step
Anal backends must be updated to use the new syntax
Uses 'ar' to get/set regs, and anal->io for read/write mem
Some few commands implemented, no extend api yet
2014-06-16 05:58:00 +02:00
Anton Kochkov
3f4d7bdf34 Fix CID #1134755 2014-04-25 05:18:29 +04:00
Anton Kochkov
5e8305e7a6 Fix CID #1134893 2014-04-25 05:01:42 +04:00
pancake
7a47a7c29c Some fixes for RLang plugins 2014-03-26 01:34:32 +01:00
Fedor Sakharov
61193c6527 Fix coverity issues in r_util 2014-03-08 11:56:15 +01:00
pancake
9a099e9e9e Add RAsmPlugins->cpus and handle it in rasm2 -L <arch> 2014-02-06 00:26:17 +01:00
pancake
802e808072 Merge libr/lib into libr/util and add r_sys_environ API 2014-01-18 02:42:23 +01:00