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
Anton Kochkov
8a224a5f48
Fix AppVeyor
2018-04-25 18:38:45 +08:00
pancake
5a899f2846
Add r_th_try_pause() and improve task threading support
2018-04-25 12:30:57 +02:00
pancake
b99bb97def
Improve r_cons_is_breaked coverage
2018-04-25 12:30:57 +02:00
Khairul Azhar Kasmiran
94605e3e67
Fix line highlighting of 2-operand insn ( #9949 )
2018-04-24 18:03:14 +02:00
pancake
cf7dcf07dc
Fix return value for RBuffer.sparse when reading beyond the end
2018-04-24 13:15:25 +02:00
pancake
19c4f5223c
Fix a lot of things broken in previous merged PRs. grrrrrr
2018-04-24 11:32:51 +02:00
Khairul Azhar Kasmiran
ec75785c7c
Highlight seek line using different background color ( #9853 )
2018-04-24 09:51:14 +02:00
wargio
058f63e599
fixed ldopen on linux
2018-04-21 18:17:48 +02:00
Khairul Kasmiran
c79874941e
Check whether r_num_get is called under r_num_calc and init RNum.nc.errors if not
2018-04-21 11:37:19 +02:00
Khairul Kasmiran
a587390d6c
Increment RNum.nc.errors on invalid numbers instead of returning UT64_MAX
2018-04-21 11:37:19 +02:00
Khairul Kasmiran
9b9a3e1baf
Prevent dcu to unknown address & return UT64_MAX on invalid numbers
2018-04-21 11:37:19 +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
radare
a30c5c3722
Initial work on supporting pauseable CoreTasks ( #9921 )
2018-04-20 00:25:33 +02:00
radare
a0348bb1b5
Fix #9915 - crash in r_hex_bin2str from asm.c ( #9922 )
2018-04-18 13:23:03 +02:00
Florian Märkl
b3067bbad3
Replace usages of R2_DATDIR with r_sys_prefix() ( #9889 )
...
* Replace usages of R2_DATDIR with r_sys_prefix()
* Minor Fixes
2018-04-15 20:35:18 +02:00
pancake
ed48dc0940
Fix last covs
2018-04-15 10:56:12 +02:00
pancake
6760b26376
Add asm.meta, and make magic when disabled. Fix sys/rebuild.sh cs
2018-04-15 02:29:03 +02:00
sivaramaaa
94ecd410e9
Fix #9870 , fix r_anal_type_get_size and handle enum type
2018-04-14 10:48:16 +02:00
pancake
59d8f4e280
Minor improvements here and there
2018-04-12 11:28:25 +02:00
pancake
848981912f
Fix last covs, and some reindents
2018-04-11 10:25:22 +02:00
pancake
1adac87918
Update sdb-1.1.0, update calls to sdb_fmt()
2018-04-10 23:52:47 +02:00
Paul I
40b4a5b557
Meson: disable libversion info for Windows ( #9858 )
2018-04-10 22:44:54 +02:00
pancake
324625cb33
Fix oobread in elf parser
2018-04-09 12:27:56 +02:00
pancake
2a8ab337d9
WIP: Initial implementation of RFShell tab autocompletion
2018-04-09 01:15:20 +02:00
pancake
86328fe4fa
Fix 'pf *D' on 32 and 64 bit
2018-04-09 00:43:46 +02:00
Riccardo Schirone
98fa3a33c5
util/num: add support for ROR and ROL
2018-04-07 16:49:33 +02:00
radare
dfcf6f745d
Initial transition to use RBuffer in RBin ( #9787 )
...
* Initial transition to use RBuffer.io in RBin
- Fixes loading Core files from Virtualbox (> 2GB ELF64)
2018-04-03 20:23:26 +02:00
pancake
6fba433277
Implement r_buf_new_with_io
2018-04-02 03:34:49 +02:00
Paul I
ca3652da4b
Meson: Add version info for shared libs ( #9763 )
2018-03-24 18:18:32 +01:00
Paul I
4e73ad7d19
Meson: some cleanup ( #9753 )
2018-03-23 07:47:46 +01:00
Riccardo Schirone
170f80d1d7
Remove R_BIN_SCN_MAP flag ( #9744 )
2018-03-22 22:10:07 +01:00
pancake
0a71d05535
Use r_cons_printf in ?a and do not use oneliner strings in ascii_table.c
2018-03-21 23:10:17 +01:00
Akshay Ajayan
fc424815a2
Move ascii table to utils and add ?a command in r2
2018-03-21 18:36:42 +01:00
pancake
24282de142
Fix #9726 - 1 byte oob read in dalvik analysis
2018-03-21 16:04:15 +01:00
Dirk Eibach
d45faff871
util: Fix harcoded segment granularity in r_print ( #9723 )
...
Fix the hardcoded assumptions on segment granularity in r_print.
Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
2018-03-19 16:42:07 +01:00
pancake
fe7ae5d0af
Fix last 20 coverity issues
2018-03-19 11:51:04 +01:00
Florian Märkl
d6e3036322
Propagate changes of fcn->_size in anal->fcn_tree
2018-03-18 15:11:29 +01:00
Farid AYOUJIL
a3eaa10f69
Adding trie to util
2018-03-16 11:11:17 +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
pancake
5a171f1450
Fix memleak in RCore.anal_refs and fix regression
2018-03-14 18:31:55 +01:00
pancake
dc74fbd746
Fix more memleaks
2018-03-14 15:31:08 +01:00
pancake
1b30ca283c
Fix RPrint.strconv_mode memleak
2018-03-14 12:37:11 +01:00
Vasco Franco
e16c35bc66
Refactores function r_str_split_list to receive the character to split by ( #9672 )
2018-03-13 13:49:49 +01:00
Khairul Azhar Kasmiran
b2f301fb07
Disasm now honors str.escblash ( #9667 )
2018-03-12 15:54:05 +01:00
Khairul Azhar Kasmiran
4b7ee94873
r_name_filter: treat \a as special char too ( #9655 )
2018-03-11 16:10:54 +01:00
Khairul Azhar Kasmiran
6eaf7bafa9
Escape \v and \a in disasm ( #9645 )
2018-03-11 14:32:28 +01:00
Vanellope
3ef95a0856
Fix V! stack pane stuck ( #9596 )
...
* Got the fix i added back to ansi crop so that the api works like the way it should
* Fixed all the glitches at once!
2018-03-08 01:01:09 +01:00
Vasco Franco
a4de64b169
Fixed null pointer deref in p_format.c ( #9623 )
...
Fixed null pointer deref in the command 'pf E' when it didn't receive an argument.
2018-03-07 21:59:20 +01:00