16460 Commits

Author SHA1 Message Date
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
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
Jacob Rosenthal
39f8c4cef5 Fix #11097 - avoid duplicate calls to r_core_get_boundaries_prot (#11103) 2018-08-18 13:45:15 +02:00
Khairul Azhar Kasmiran
bfb1b7d12e ie(j): revert hpaddr->haddr (#11121) 2018-08-18 13:43:22 +02:00
Fangrui Song
e46cb2141d Fix out-of-bounds write (#11128) 2018-08-18 11:58:30 +02:00
Fangrui Song
2ea5f62d14 Remove #pragma pack to suppress -Wpragma-pack-suspicious-include (#11114)
These structs are defined in the way that no #pragma pack is needed.
2018-08-18 03:43:46 +02:00
radare
586bf7fc15
ragg2 *.c shows stderr and fix clang cflags (-Os makes non-pic code 🤦) (#11122) 2018-08-18 03:41:24 +02:00
radare
9b9cb254d6
Fix #11120 - Fix context disasm with the foreach operator (#11123) 2018-08-18 03:40:59 +02:00
pancake
40c97aacc3 Fix underflow in omf 2018-08-18 03:39:13 +02:00
pancake
10052884ec Fix crash in dex parser 2018-08-18 03:38:53 +02:00
Jacob Rosenthal
b0547831f1 syscalls: print syscall numbers in hex instead of dec to accomodate macos x86 64 2018-08-17 17:43:25 +02:00
Jacob Rosenthal
f5ca226523 macosx syscalls: use 0x80 as interrupt on fix mach calls 2018-08-17 17:43:25 +02:00
pancake
7e083b57fb Fix last coverities (2 memleaks) 2018-08-17 17:38:24 +02:00
pancake
874369c224 First tab is created twice 2018-08-17 16:43:11 +02:00
Fangrui Song
82cec46150 Make px 2 @x:90 (len > temp blocksize) honor the temporary block (#11106) 2018-08-17 01:03:40 +02:00
Vanellope
e55bb9dea4 Now cursor works on the Disassembly panel, albeit rather roughly just yet. (#11115)
* cursor should barely work on the disassembly now

* implemented the cursor on the disassembly, this is just a start point though.
2018-08-17 01:02:00 +02:00