Commit Graph

1594 Commits

Author SHA1 Message Date
Sebastien Marie
3822f1446e avoid cp -a: it isn't POSIX defined and don't exist on openbsd (#10133)
replace it by the most similar arguments: cp -PRp
(not copied elements are context,links,xattr)
2018-05-20 00:29:53 +02:00
ddast
7706f2d778 Fix hexdump output of radiff2 (#10111)
radiff2 showed wrong output when filesize was not a multiple of the
width.
2018-05-18 10:41:29 +02:00
Paolo Monti
b32dd4ca9f Fix #2639, added support for javascript byte arrays in rax2 -F (#10065) 2018-05-11 10:58:16 +02:00
radare
9e08da0fa6
Improve build of libr.a and libr.dylib, fix and improve sys/ios-sdk.sh (#10046)
- Update spp and force hidden visibility
- Use R_API wisely
- RSys.prefix returns const things
- Use -install_name on Apple
- Fix merged lib visibility linking on Linux
- Use OSTYPE instead of BUILD_OS
- Honor crosscompiler-objcopy and support android like linux
- Add extra missing archives
- Fix for android
- Upgrade spp and sdb
- Skip libr. from symstall
- Add --enable-merged configure option
- Use --enable-merged on ios-sdk
- Upgrade sdb again for js0n
- Kill sys/ios-shell.sh
- Msvc dynamic build fix
2018-05-09 23:31:52 +02:00
pancake
5578d8d1ae Implement iO as a frontend for !rabin2 -O 2018-05-09 23:25:03 +02:00
Paul I
e33200ac45 Fix pathes for r2pm (#10044)
Add more variables to r2 -H
2018-05-08 02:21:08 +02:00
Paolo Monti
cf91e24448 Removal of dead code for rax2 -P (#10016) 2018-05-06 17:26:16 +02:00
Paolo Monti
6c4131bbaf Fix #9986, implemented rax2 -i functionality, to mimic xxd -i (#10009) 2018-05-05 00:57:11 +02:00
Gromimousse
78ce646cf6 Ragg2-cc is now completely erased from r2 (merged into ragg2) (#9996) 2018-05-02 20:34:30 +02:00
Paul I
5180e0220f Add R2_PLUGINS, R2_EXTRAS, R2_BINDINGS macros (#9994) 2018-05-02 15:58:14 +02:00
radare
000e725b15
Use system diff in graphdiff nodes if possible and improve graphviz style (#9988)
$ radiff2 -g sym._call -A  b c | dot -Tpng > a.png

- we need disasmdiff native in r2, as well as more inter-core commands
2018-04-30 02:47:51 +02:00
Paul I
cc90ec6be5 [WIP] Move hardcoded paths to r_userconf.h (#9959)
* Move hardcoded paths to r_userconf.h

* Add R2_HOME_* macros

* Some cleanup
2018-04-28 10:02:55 +02:00
pancake
a24eb639e0 Make Travis Green 2018-04-25 12:30:57 +02:00
Shady Tantawy
2c28d5db28 Modified rahash -L to be grep friendly #9882 (#9941) 2018-04-24 11:39:14 +02:00
sivaramaaa
505bb8fdaf Fix #9883, Handle hit in search left over (#9890) 2018-04-15 14:25:27 +02:00
pancake
7e9fd8b740 ? output is no longer a oneliner 2018-04-14 17:34:27 +02:00
pancake
154c638ec2 Initial work to support entropy graphs in rahash2 via r2
- Wip. related to #9871
2018-04-12 16:47:24 +02:00
pancake
f0f3b1a440 Fix #561 - See radiff2 -u and radiff2 -x (optionally add -q) 2018-04-09 01:26:45 +02:00
Iulian Onofrei
c4acac59be Fix duplicate y/N on suicide (#9780) 2018-03-29 19:47:23 +02:00
Akshay Ajayan
fc424815a2 Move ascii table to utils and add ?a command in r2 2018-03-21 18:36:42 +01:00
r00tus3r
e16b1ef1c8 Adding ascii table 2018-03-16 11:13:55 +01:00
Florian Märkl
93d9f4ec66 Add mask parameter to r_anal_op() 2018-03-16 11:10:15 +01:00
Gromimousse
a5c9fc7855 Ragg2-cc -> Ragg2 merge (#9658)
- change of 'access' function for 'r_file_exists' for windows portability
- several changes in the way ragg2.c is done, see PR #9658 pancake comments
- change function for the remove of 'file'.text
- open changed for r_file_dump
- some elt of cEnv_t are now const
- skip all the pointers verification in set_cEnv but do them in check_cEnv instead
- add 2 r_str_sanitize for file and CC in parseCFile
- rewrite the removal of .o, .tmp, .bin, .s files, with cleaner code
- changed the long command with sed and grep to 2 C functions.
  - The function parseCompiled that basically does what the command was doing
  - And r_str_stripLines that is equivalent to "grep -v" (maybe we should put this one in str.c ?)
- simplify a bit getCompiler function with a const char* array
- add ternary operator for armOrMips condition
- use r_file_path for finding path to compilers
- new file created in libr/egg which contains all the C file parser
- modifications of 2 files to match the change :
  - libr/egg/r_egg.h
  - libr/egg/Makefile
- the function r_str_stripLine is simplier (the mallocs wasn't needed)
- the function r_str_stripLine is moved to libr/util/str.c
- libr/include/r_util/r_str.h is changed accordingly
2018-03-15 11:48:21 +01:00
Farid AYOUJIL
7f79630a48 Fix rahash2 entropy to show non truncated double (#9629) 2018-03-12 23:45:39 +01:00
pancake
e7be837e79 Implement r2pm cache to make r2pm r2-independent 2018-03-07 09:56:09 +01:00
Giuseppe
a668ad4712 Make wopO stop when value isn't starting with 0x (#9538) 2018-03-02 11:03:05 +01:00
Giuseppe
02b77432c1 Call r_debug_kill with pid of attached process (#9453) 2018-02-27 18:40:32 +01:00
xarkes
2008686116 Fixed missing r_config_set_i for scr.color 2018-02-26 15:52:47 +01:00
xarkes
b2b647a5f7 Renamed COLOR_MODE constants 2018-02-24 12:04:48 +01:00
xarkes
5e097dbae1 Killed cons->truecolor in favor of cons->color 2018-02-24 11:47:38 +01:00
Maycon Maia Vitali
5501658142 Fixed typo in r2 help message -M -> -m 2018-02-22 16:22:47 +01:00
Giovanni
397d6b1211 Fixed shlr java warnings and thread regression warning (#9447) 2018-02-21 05:03:03 +01:00
pancake
94db229d24 Fix loading animation to show only with -t 2018-02-20 22:46:57 +01:00
Giovanni
0c776c0e71 warnings from lib (#9445) 2018-02-20 23:19:35 +01:00
pancake
792956c67d Add a loading animation in a thread when using r2 -t 2018-02-20 22:21:38 +01:00
Paul I
bb4f61580e Cleanup meson files (#9424) 2018-02-20 09:33:19 +01:00
pancake
047d672898 Hide crashes when dlopen on unix in rabin2 -Q 2018-02-18 03:49:19 +01:00
pancake
946d559ca6 Fix r2 -m 0x1000 /bin/ls using oba as a workaround 2018-02-18 02:25:01 +01:00
Lowly Worm
28c84c23ef fix shell injections (#9389) 2018-02-14 12:42:03 +08:00
Rafael Rivera
3031324be3 Initial e dbg.symstore support (#9338) 2018-02-09 11:34:09 +01:00
Adrian Studer
c8c062dba9 fixing r_io dependency at the right place (ranal) 2018-02-03 19:22:56 +01:00
Adrian Studer
83987ad2c7 adding r_io dependency to rasm meson 2018-02-03 19:22:56 +01:00
Adrian Studer
bb14c122ad added missing dependency on r_io 2018-02-03 19:22:56 +01:00
ke-to
ad440a8325 fix typo exectution => execution (#9295) 2018-02-03 19:22:04 +01:00
pancake
6b053ccf59 Fix hexagon register profile 2018-02-02 23:03:14 +01:00
pancake
ba43d0773d Add r2pm -cp to clear home plugins 2018-01-30 04:19:10 +01:00
Khairul Kasmiran
3e8a5b5677 rax2: -E honors -l 2018-01-29 19:21:59 +08:00
pancake
2e8884a47d Fix #9255 - gdb cannot read memory 2018-01-27 23:30:03 +01:00
pancake
10bd7b0394 Fix #9159 - Fix double-open in gdb 2018-01-26 11:52:40 +01:00
pancake
96d32d9987 Oops missing ref 2018-01-24 17:56:13 +01:00