mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 21:29:49 +00:00
Fix rarun2 preload for latest OSX. Add il help and fix R_EGG constants
This commit is contained in:
parent
653881eb3a
commit
117a462424
@ -183,7 +183,11 @@ static int runfile () {
|
||||
#endif
|
||||
if (_preload) {
|
||||
#if __APPLE__
|
||||
// 10.6
|
||||
r_sys_setenv ("DYLD_PRELOAD", _preload);
|
||||
r_sys_setenv ("DYLD_INSERT_LIBRARIES", _preload);
|
||||
// 10.8
|
||||
r_sys_setenv ("DYLD_FORCE_FLAT_NAMESPACE", "1");
|
||||
#else
|
||||
r_sys_setenv ("LD_PRELOAD", _preload);
|
||||
#endif
|
||||
|
@ -133,6 +133,7 @@ static int cmd_info(void *data, const char *input) {
|
||||
" ih ; headers\n"
|
||||
" ii ; imports\n"
|
||||
" iI ; binary info\n"
|
||||
" il ; libraries\n"
|
||||
" is ; symbols\n"
|
||||
" iS ; sections\n"
|
||||
" iz ; strings\n");
|
||||
|
@ -57,13 +57,13 @@ r2 -q - <<EOF
|
||||
?e #define R_EGG_OS_BEOS \`?h beos\`
|
||||
EOF
|
||||
#endif
|
||||
#define R_EGG_OS_LINUX 0x0a52b843
|
||||
#define R_EGG_OS_OSX 0x0b875ee1
|
||||
#define R_EGG_OS_DARWIN 0x4292f662
|
||||
#define R_EGG_OS_MACOS 0x0a66c956
|
||||
#define R_EGG_OS_W32 0x0b877473
|
||||
#define R_EGG_OS_WINDOWS 0x7de634da
|
||||
#define R_EGG_OS_BEOS 0x7c70357e
|
||||
#define R_EGG_OS_LINUX 0x5ca62a43
|
||||
#define R_EGG_OS_OSX 0x0ad593a1
|
||||
#define R_EGG_OS_DARWIN 0xd86d1ae2
|
||||
#define R_EGG_OS_MACOS 0x5cb23c16
|
||||
#define R_EGG_OS_W32 0x0ad5fbb3
|
||||
#define R_EGG_OS_WINDOWS 0x05b7de9a
|
||||
#define R_EGG_OS_BEOS 0x506108be
|
||||
|
||||
#if __APPLE__
|
||||
#define R_EGG_OS_DEFAULT R_EGG_OS_OSX
|
||||
|
Loading…
Reference in New Issue
Block a user