Commit Graph

18335 Commits

Author SHA1 Message Date
David CARLIER
a619eba4c7 BSD docs update and distinct docs for both systems (#10349) 2018-06-14 21:24:34 +08:00
fcasal
2a029fdb2d Added json list to debug plugin list dL (#10348) 2018-06-14 21:23:37 +08:00
sivaramaaa
17a77857b9 Intial work for union support (#10340) 2018-06-13 23:56:45 +02:00
David CARLIER
d43bc02f99 Change of r_mem_memzero signature. In a memory clearance context, (#10342)
we usually do not consider the destination buffer as such.
2018-06-13 23:05:33 +02:00
radare
bd9611c43d
Add support for x86-32 gcc "mov r,[r*s+d];jmp r" jumptables (#10271)
* Add support for x86-32 gcc "mov r,[r*s+d];jmp r" jumptables

Thanks @rlaemmert for providing test case

- This PR also improves the analysis of MOV instructions on X86
- And extends output of 'ao' to show ireg, scale, ...
2018-06-13 17:06:47 +02:00
radare
c9446e530e
Show cycles, failcycles and delay in ao, as it was in aoj (#10289) 2018-06-13 16:38:37 +02:00
David CARLIER
44cb24f1bf Using safe memory clearance for sensitive data. (#10337)
* Native one if possible or using memory barrier.
* Usage in few places at the moment.
* Attempt to fix OSx linkage issue, Meson linking to utils anyway
2018-06-13 16:38:08 +02:00
pancake
8f6f4b8c1d Support escaping pipes, backticks and redirections in the shell 2018-06-13 16:00:02 +02:00
pancake
06b93969b0 Fix some more oobreads in v850 2018-06-13 15:43:44 +02:00
pancake
89874a07d1 Fix crash in v850 disassembler, need some more fixes to fix them all 2018-06-13 14:51:01 +02:00
David CARLIER
2fcbb3f562 FreeBSD sandboxing. circumspecting the kernel version (#10335)
in the needed code instead of utils header which
would provoke issue with ptrace and MAXCOMLEN definition.
2018-06-13 13:16:58 +02:00
Luca Di Bartolomeo
36eb3aa558 Fix overflow in canvas.c + fix utf8 crop (#10336) 2018-06-13 12:55:36 +02:00
jasuramme
bc9dd3aca0 Sh esil implementation bugs fixed (#10334)
* Implemented ESIL for SH architecture
* fixed mov.l @(<disp>,PC), PC needed -2 offset, as program counter is already incremented
* deleted unused sdb file
* removed unnecessary variables and functions. Changed code for coding style rules. Added EXT.S instructions. head of file is still to be rewritten after I will finish tests.
* removed esil_sh_init()
* lots of bugs fixed during testing, not so much left
* Finished to check sh ESIL. Tests are written
2018-06-13 11:13:25 +02:00
Vanellope
7e793aac81 Initial support for graphs in panels 2018-06-13 11:12:18 +02:00
Khairul Azhar Kasmiran
a1c4a95101 Moved r2 segment cmds from iS* to iSS* + use segment. prefix for segment flags (#10331)
* Moved r2 segment cmds from iS* to iSS*
* Use segment. prefix for segment flags in set mode
* Only sections have start comments
2018-06-13 11:10:29 +02:00
pancake
0a53903aba Fix e asm.arch=?~udis after r2pm -i x86udis 2018-06-13 01:20:41 +02:00
David CARLIER
b907cab694 acr4random env var propagation fix (#10332) 2018-06-13 01:01:46 +02:00
pancake
34a88a9baa Fix memleak reported by @zlowram 2018-06-13 00:50:50 +02:00
Florian Märkl
3e126d26b6 Add pthread cond to r_util (#10279) 2018-06-12 16:57:50 +02:00
pancake
80935a95c0 Aim to fix an oobread in rparse 2018-06-12 16:43:44 +02:00
pancake
d1137e2e09 Fix 2 more memleaks 2018-06-12 16:42:22 +02:00
pancake
6e5240c725 Fix some memleaks related to code analysis 2018-06-12 16:24:07 +02:00
Khairul Kasmiran
37061a780f Minor redundancy removal 2018-06-12 19:13:22 +08:00
Luca Di Bartolomeo
83e85ee07f UTF-8 support in canvas (panels, graph) (#10319) 2018-06-12 13:05:47 +02:00
Luca Di Bartolomeo
f08603c6c7 Graph edges improvements (#10325)
* Fix graph edges in jumptables
* fix simple edges graph
* better edges in refs graph
2018-06-12 00:20:39 +02:00
Florian Märkl
f9892a224e Fix flags->tags leak (#10321) 2018-06-11 18:49:26 +02:00
Florian Märkl
6fa6ce3efb Fix Leak in r_cons_pop() (#10322) 2018-06-11 18:49:10 +02:00
David CARLIER
35f6c776e8 pool factory init: changes from malloc/memset => calloc (#10320) 2018-06-11 18:08:21 +02:00
Khairul Azhar Kasmiran
19be78b0c2 Moved simple output of segments from iSq to iSSq (#10317) 2018-06-11 13:16:56 +02:00
pancake
7fb3381f80 Fix last covs 2018-06-11 11:48:22 +02:00
pancake
a4f0ad3e38 Fix echo behaviour 2018-06-11 11:43:58 +02:00
David CARLIER
01e3775e19 clang build fix, propagate initial CC setting (#10316) 2018-06-11 11:38:19 +02:00
Anton Kochkov
e3d11b989c Fix Linux build 2018-06-11 11:02:49 +08:00
pancake
c52c7bace3 Fix #10300 - Link issues --with-sysmagic 2018-06-11 03:36:45 +02:00
pancake
90b71c017a Fix #10293 - Use-after-free in r_anal_bb_free() 2018-06-11 03:28:35 +02:00
pancake
224e6bc13f Fix #10296 - Heap out of bounds read in java_switch_op() 2018-06-11 03:15:07 +02:00
pancake
c488aaa208 Fix #10295 - Heap out of bounds read in v850 2018-06-11 03:12:19 +02:00
pancake
bbb4af5600 Fix #10294 - crash in r2_hoobr__6502_op 2018-06-11 03:03:25 +02:00
pancake
bceeb37213 Update capstone patch 2018-06-11 02:57:22 +02:00
xarkes
5373668cf4 Fixed wrong int output format in izzj (#10302) 2018-06-11 02:53:53 +02:00
David CARLIER
4d1d5adb0d Using randomisation wrapper (#10310)
* various tweaks, updating configure.acr script
* moving code to existing utils and modifying builds scripts
* use arc4random_buf when available
2018-06-11 02:50:30 +02:00
Aaron
b5300c75df Add r_userconf back to include/r_types.h (#10314)
Fixes regression issue #10313
2018-06-11 02:48:34 +02:00
pancake
95af694ef9 Do not sprintf after r_str_newf 2018-06-10 21:15:23 +02:00
Paolo Monti
b77e26a341 Added ability to rename variables far from cursor (#10309) 2018-06-10 21:13:03 +02:00
sivaramaaa
7083c3385a Support for using variable name in tp 2018-06-10 21:04:57 +02:00
sivaramaaa
55d9aa1c93 Added autocompletion for remaining t commands 2018-06-10 21:04:57 +02:00
bannsec
f6fd192234 Fixing docker build bug by tweaking the r2pm script (#10268)
* Fixing docker build bug
* Moving mkdir -p into r2pm
* Changing to use r2 -H
* Using ":" and quotes
2018-06-10 21:03:34 +02:00
Khairul Kasmiran
b84fb472d0 iSSj: json output for iSS 2018-06-10 21:02:05 +02:00
tanjmaxalb
cd35e40c01 Was be fixed #10303 problem with SIB part at which base part is incorrectly defined
for form as [reg * 2 + disp]
2018-06-10 20:50:26 +02:00
pancake
4ec3ef1041 Fix #10242 - empty files throw no warning now 2018-06-10 04:59:57 +02:00