Commit Graph

1576 Commits

Author SHA1 Message Date
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
Anton Kochkov
18c633cb36 Initial work on CPU specific registers 2018-01-24 11:31:55 +01:00
pancake
303820dbac Initial purge of R2_PREFIX towards dir.prefix 2018-01-16 11:13:21 +01:00
sivaramaaa
74a5b55925 Honor *q in izzz 2018-01-12 10:02:22 +01:00
whitequark
c816dc7e66 Don't try to build shared libraries if configured as --without-pic.
Specifically, avoid building all plugins as non-static objects,
as well as some supplementary libraries. In fact, a large amount
of plugins was already gated to build as shared objects only with
WITHPIC=1, but this was not done consistently.
This gating has been moved to */p/Makefile.

Building these shared objects is a waste of time and breaks
the --without-pic build unless CFLAGS is forced in the make
invocation.
2018-01-11 23:09:22 +01:00
pancake
f051479472 Add RASM2_ARCH and RASM2_BITS in rasm2 -h 2018-01-11 21:48:41 +01:00
pancake
e5235f7d97 Fix last covs, radiff crash and tweak the z64 bin plugin 2018-01-10 19:18:36 +01:00
pancake
b27326e891 Kill RCoreFile from rabin2 2018-01-10 13:53:53 +01:00
pancake
a706fecbd9 Fix radiff2 -B patch 2018-01-10 10:18:31 +01:00
Andrea Sindoni
f546e0751b Fix SIGSEGV in the encoder execution (#9168) 2018-01-09 22:04:25 +01:00
pancake
7866fca330 Add r2 -X as an alias for -e bin.usextr=false 2018-01-08 00:29:14 +01:00
pancake
7f40f36c3a Initial draft implementation of the loader plugins for RBin 2018-01-07 21:54:41 +01:00
vertur
3a91bf0e97 Wide CRC hashes
* Avoid explicit size for CRC hash.
* Add more CRC8 hashing presets.
* Add more CRC16 hashing presets.
* Add more CRC32 hashing presets.
* Add CRC64 hashing presets (disabled).
* Regroup CRC presets and make they presence configurable. Disable CRC16 and enable CRC64 hashing.
* Prevent from bitset overflow. Enable all CRC hashes.
* Regroup CRC presets again. Enable all original and disable rare-used presets.
* Fix issue with mismatched bitset types.
2018-01-07 20:41:53 +01:00
Thomas Bailleux
8d68fa034b Support of binary diff format (GDIFF) - radiff2 (#9140)
* Support of GDIFF output format for radiff2

* Fix DATA for remain bytes (large files)
2018-01-06 14:24:25 +01:00
Madushan Nishantha
607a33e299 Fix ragg2-cc compile error with Xcode 7
This commit is just setting the `-miphoneos-version-min` compiler parameter to `0.0` dummy value in order to get it working
2018-01-01 16:01:57 +01:00
Ziyaddin Sadigov
d4dd6fd5e6 Fix typo regarding byte size (#9067) 2017-12-27 18:33:58 +01:00
pancake
76cfc611af Fix #8993 - Honor s:key in woD 2017-12-18 16:50:31 +01:00
pancake
ff8959f1b0 Add some more null deref checks here and there 2017-12-18 12:38:37 +01:00
kriw
6c2a366e53 rax2 Impl r_hex_ from_py (#9007)
* add parser for python

* add P flag for hex from python

* Revert "add P flag for hex from python"

This reverts commit 23a4721ef8.

* detect language automatically
2017-12-13 12:01:27 +01:00