19128 Commits

Author SHA1 Message Date
pancake
b44de89906 Add op->cycles for ARM32 2018-08-23 11:40:53 +02:00
Sepтем
2aaab8b56c Use RAsm.Op.get_asm() in RCore.Anal.has_refs() 2018-08-23 10:37:23 +02:00
Fangrui Song
3f0b38873d Reland #11181: replace sort_attrs (insertion sort) with a single insertion (#11201) 2018-08-23 01:35:18 +02:00
securisec
e7028d4e84 A better version of white theme (#11200) 2018-08-23 00:36:24 +02:00
exokortex
20e1be2e95 provisional fix for buffer out of range in ds_print_meta_infos (#11203) 2018-08-22 22:52:25 +02:00
exokortex
208361b514 fix index out of bounds (#11197) 2018-08-22 22:50:05 +02:00
exokortex
49b9ffcf9d Remove random change of buffer len that results in index out of bounds in subsequent code (#11198) 2018-08-22 17:15:24 +02:00
pancake
d2a6415556 Revert "Replace sort_attrs (insertion sort) with a single insertion (#11181)"
This reverts commit 884f05764652e2ac12e108a26e765bfbfa445986.
2018-08-22 13:50:35 +02:00
Khairul Azhar Kasmiran
8a5d6195a0 Fix bin_mdmp.c -Wstringop-truncation warnings for #10338 (#11192) 2018-08-22 13:19:27 +02:00
radare
1c83586844
Fix rabin2 -H on 32bit mach0 binaries (#11190) 2018-08-22 13:15:43 +02:00
Florian Märkl
64e3b63b3f MSVC RTTI class name demangling (#11171)
* Add r_anal_rtti_msvc_demangle_class_name()
* Add avrD command
2018-08-22 13:15:28 +02:00
pancake
33a01a57f4 Address review comments from MaskRay, ret2libc and xvilka 2018-08-22 11:43:05 +02:00
rene
045dae8406 Fixes pdi, hellocxx test, cmd_rop, helloworld-gcc-elf, elf-riscv64 2018-08-22 11:43:05 +02:00
pancake
6d05365f30 Make RAsmOp use RStrBuf instead of fixed-size buffers
* Seems to work, but there are many things to improve and fix
* Fixed some bugs (overflow, sandbox bypass, ..)
* Exposes some memleaks and bad api usages.
* Refactor all the things! \o/
* Fix z80, tms320 disasm and x86.as
* Care about memleaks
* Support meson
* And fix more tests related to pda and pdj and m68k
2018-08-22 11:43:05 +02:00
Fangrui Song
f7341d1949 cmd_meta: add command names beside case labels (#11182) 2018-08-22 11:17:08 +02:00
Fangrui Song
884f057646 Replace sort_attrs (insertion sort) with a single insertion (#11181)
Fixes #11164
2018-08-22 11:10:22 +02:00
Khairul Azhar Kasmiran
2413ef6d93 Fix #11150 - Fix clusterfuzz mdmp crash (#11183) 2018-08-22 11:01:16 +02:00
David CARLIER
0030dd64bb Fix segfault on OpenBSD at exit (#11173) 2018-08-22 05:07:21 +02:00
radare
8f11d01937
Fix crash in ii~../at (#11177) 2018-08-22 03:29:12 +02:00
radare
bc70bc25eb
Initialize RAsmOp and update acode->bin after hex (#11178) 2018-08-22 03:28:44 +02:00
Fangrui Song
d8a9bfba35 panels.c: fix -Wunused-variable (#11176) 2018-08-22 03:12:53 +02:00
Fangrui Song
6d115eac58 Optimize sdb_array_add_num (#11157) 2018-08-22 02:57:02 +02:00
Fangrui Song
3be40b9a39 meta: fix meta_inrange_{get,add,del} (#11161)
Note meta_inrange_get is only called by r_meta_find_in, which is only used when asm.meta=false (while the default is true). This is very uncommon and thus we don't see issues.
2018-08-22 02:51:14 +02:00
Khairul Azhar Kasmiran
4da4f4bb0f Fix #11126 - fix clusterfuzz dex crash (#11169) 2018-08-22 02:48:28 +02:00
Vanellope
fc87b46e21 Cursor is supported in the Zoom mode (#11172) 2018-08-21 23:45:13 +02:00
Andry
8649239e80 memleaks after sdb_querys calls fixed 2018-08-21 23:44:52 +02:00
kij
10786e5549 r2pm OCD fixes, search list aligned with column 2018-08-21 23:44:19 +02:00
Maijin
6ae0c86f84
Add sys/indent.sh back
Add sys/indent.sh back
2018-08-21 12:35:25 +02:00
Andry
f8826a492c Fix superfluous seek on error while -escr.interactive=0 (#11166) 2018-08-21 11:42:24 +08:00
vane11ope
4016763f54 Tab works for the zoom mode that rotates panels to be maximized 2018-08-20 23:03:09 +02:00
vane11ope
506c20e790 Refactoring positions to manipulate them later for many usages 2018-08-20 23:03:09 +02:00
Andry
3e678f57dd Fix #11145. Additional error handling (#11160) 2018-08-20 11:48:20 +02:00
Paul I
620affc89e Fix some warnings (#11152) 2018-08-20 14:52:02 +08:00
Fangrui Song
b6acfabd3c propeller: fix -Winitializer-overrides (#11159) 2018-08-20 14:50:07 +08:00
Vanellope
9629b53f36 Zoom Mode is supported (#11156) 2018-08-19 23:06:34 +02:00
sivaramaaa
19e456821b Initial work on Constrained types (#11144)
* Intial Work on Constrained types

* Use r_strbuf instead of fixed size buffers in afta
2018-08-19 23:05:54 +02:00
Fangrui Song
5baec7197d bootimg: rename ALIGN to ROUND_DOWN to avoid conflict with /usr/include/machine/param.h on FreeBSD (#11153) 2018-08-19 21:58:29 +02:00
pancake
bfecffe2fe file is not yet bfile 2018-08-19 17:20:48 +02:00
pancake
87eb500d32 Fix last coverity 2018-08-19 16:39:55 +02:00
pancake
26d50c31da Fix memleaks in RBin 2018-08-19 16:39:55 +02:00
pancake
f597da8bcc Fix a memleak in the io cache 2018-08-19 16:39:55 +02:00
radare
0a16f30ba1
Implement om-.. (#11148) 2018-08-19 16:39:42 +02:00
Fangrui Song
dcf7dc74af Optimize sdb_const_anext and sdb_array_contains (#11139)
time (repeat 10 ~/Dev/Bin/radare2/release/binr/radare2/radare2 -p t1 -c
'' -Q a.out) => 1.35s -> 1.28s
2018-08-19 15:51:27 +02:00
Vanellope
0622edeb4f Vertical resizing is supported in Panels (#11146)
* resize vertically with the temporal command t
2018-08-19 15:50:54 +02:00
morbith-dqtz
fcb5a3e07f Fix offset to main_arena in libc6-2.27 x64_32 (tested in debian and kali 32 bits) (#11147) 2018-08-19 15:50:31 +02:00
Rafael Rivera
8128b0acb3 Fix uninitialized local causing rtc failures (#11136)
* Fix uninitialized local causing rtc failures

* Moved initialization per review

* Moved local per review

* Cleaned up json separator local
2018-08-19 15:11:23 +08:00
Khairul Azhar Kasmiran
374a4800e8 iee: apply rva to every use of hvaddr (#11130) 2018-08-19 05:58:54 +02:00
Iru Cai (vimacs)
7ef4a5bf8e Print backslash as '\\' in ps command (#11131) 2018-08-19 05:57:47 +02:00
AsFaBw
1797a1c804 Fix removing hardware watch typo in gdb:// 2018-08-19 05:56:38 +02:00
pancake
87a360f8ed Deprecate rop.nx and just use the search.in rules 2018-08-18 15:44:00 +02:00