Sven Steinbauer
dcad605335
Allow for 32bit only ops in x86 ( #8092 )
2017-08-01 18:22:20 +02:00
Dennis Goodlett
66b5808475
fix segfault in vsnprintf on 32 bit systems examining a PPC ELF ( #8075 )
...
* fix segfault in vsnprintf on 32 bit systems
On a 32-bit x86 computer, examining a PowerPC ELF with the "aa" command caused a segfault in vsnprintf.
The %llx (PFMT64x) format attempts to get the next 64 bits from the stack. This will consume the cmask32 and ARG(0) values. The following "%s" will cause a segfault if the next 32 bits is not pointing to readable memory.
I doubt this is the best fix. Maybe libr/include/r_types.h should be changed? You guys know better.
* cast instead of duplicating code
* fix white space
2017-08-01 18:20:39 +02:00
Khairul Azhar Kasmiran
1820908da3
asm.strenc: guess whether string is utf8 ( #8094 )
2017-08-01 18:18:47 +02:00
Sven Steinbauer
1426a73032
Add move
, bal
, bgezal
, and bltzal
mips instructions ( #8090 )
...
* Add `move`, `bal`, `bgezal`, and `bltzal` mips instructions
* Only divide immediate on branch ops
2017-08-01 18:17:33 +02:00
pancake
78ec2d0340
Implement rafind2 -i to identify binaries
2017-08-01 15:27:11 +02:00
pancake
9bdce20d83
Negate those align checks
2017-08-01 15:06:00 +02:00
pancake
16304fc9a4
Implement data align restrictions for analysis and esil (arm, mips..)
2017-08-01 14:51:29 +02:00
Anton Kochkov
e52447c9ea
NEC V850 - Initial ESIL support ( #8082 )
2017-08-01 14:32:52 +02:00
Marc
409232f7e4
Fix code style
2017-08-01 12:53:24 +02:00
pancake
0d04abce48
s-- and s++ accept a number as argument to half the seek
2017-08-01 12:18:16 +02:00
Srimanta Barua
0f690c7997
return tid after continue ( #8079 )
2017-08-01 11:40:43 +02:00
Srimanta Barua
9f9192232a
Fix a lot of incorrect 'garbage at end of packet' messages ( #8080 )
2017-08-01 11:40:33 +02:00
Srimanta Barua
579a043b87
rework =!qRcmd to more intuitive =!monitor, send monitor help by default ( #8081 )
2017-08-01 11:40:15 +02:00
Marc
5da2238b7b
Remove debug eprintf
2017-08-01 10:23:10 +02:00
pancake
0140bf07b3
Add some more instructions for the mips assembler
2017-08-01 06:01:52 +02:00
Marc
6aec198df7
Add DEX38 support
2017-08-01 05:00:48 +02:00
pancake
6d953c3b33
Implement adrp instruction for arm64
2017-08-01 04:35:14 +02:00
pancake
94df0f1b44
Fix #8074 - reg profile for xnu-x86-64 native debugger
2017-07-31 18:37:16 +02:00
Ren Kimura
3ffc7e1831
Fixed type confusion of free functions ( #8072 )
2017-07-31 18:30:05 +02:00
Sven Steinbauer
3f3dd45431
fixes for nz assembler ( #8073 )
2017-07-31 18:28:57 +02:00
xarkes
cc622a6271
Added runlib to rarun2 - fix #8045 ( #8066 )
2017-07-31 15:03:11 +02:00
pancake
b3244620b8
Fix #8059 - Fix crash in dwarf parser
2017-07-31 15:00:01 +02:00
Sven Steinbauer
b21fc94871
Fix segfault on arm64 brk ( #8071 )
2017-07-31 14:52:13 +02:00
pancake
01d3179a61
Fix #8068 - r2 -X is now -R and old -R is now -r
2017-07-31 14:08:06 +02:00
pancake
41786e35ca
Add r_sys_trap() helper in r_types.h
2017-07-31 13:50:36 +02:00
Ren Kimura
6a1b62a9c2
Fixed wrong type allocation of session data ( #8067 )
2017-07-31 13:20:01 +02:00
Sven Steinbauer
10d651202f
Fix bad mov op as invalid ( #8065 )
...
FIX #8007
2017-07-31 11:34:50 +02:00
radare
ffb2c9e928
Fix bits issue and add r_str_reverse
2017-07-31 11:33:39 +02:00
Anton Kochkov
246dd7f94a
Fix more big memory leaks
2017-07-30 16:50:51 +08:00
Fangrui Song
c1472e6630
Leak fixes ( #8060 )
2017-07-30 03:57:02 +02:00
Anton Kochkov
054d35b570
Fix uninitialized free
2017-07-30 00:18:58 +08:00
Srimanta Barua
d93977358d
Small gdb fixes, and added alternate way to get baddr ( #8055 )
...
* check if 'g' is supported before switching to reading regs using '?'
* stabilize gdbserver a bit more
* added ability to get baddr even if we can't read memory map (if qOffsets packet is supported)
2017-07-29 17:58:20 +02:00
Anton Kochkov
fce916ffdf
More leak fixes
2017-07-29 21:26:19 +08:00
Anton Kochkov
8041b3c284
Fix a few leaks
2017-07-29 20:30:02 +08:00
Ren Kimura
0e4aa83d16
Add new command 'aesb' step back for ESIL ( #8052 )
...
* Add new command aets
* Add new command aesb, step back for ESIL
* Add session key
2017-07-29 18:59:41 +08:00
SkUaTeR
e7a2f2cc8c
fix a wrong definition to call GetLongPathName and fix for #8044 ( #8053 )
...
* fix a wrong definition to call GetLongPathName
* fixing ppc arch
* fixing export issue in PE files
2017-07-29 02:07:42 +02:00
Maijin
9e68f9a94a
Fix aaa and aaaa log
2017-07-28 21:48:14 +02:00
pancake
aac34821df
Avoid false positive anal hints in aae
2017-07-28 17:35:31 +02:00
pancake
b42c9a284f
Fix #8048 - Honor bitsize as argument to dr=
2017-07-28 15:06:06 +02:00
pancake
60d062286b
Fix null deref in dalvik analysis for fuckedup dex files
2017-07-28 14:52:24 +02:00
pancake
773fcec13a
Update rax2 -l
2017-07-28 14:21:03 +02:00
pancake
91325d8d56
Add -l to append newline when decoding hex/b64 strings to rax2
2017-07-28 14:19:32 +02:00
pancake
6dd6be3dba
Fix pdc with scr.html
2017-07-28 14:19:26 +02:00
xarkes
d4d07ee1ca
Better meson build
2017-07-28 14:02:27 +02:00
Anton Kochkov
00be0a19d3
Init bitshift upon creation
2017-07-28 19:33:16 +08:00
pancake
fa576bbb9a
Implement s-* command
2017-07-28 06:12:01 +02:00
pancake
807402e123
Fix testsuite and remove commented code
2017-07-28 04:39:20 +02:00
pancake
c33c4dae82
Initial support for bitsized disassemblers
2017-07-28 02:53:31 +02:00
pancake
3f9232d5de
Handle asm.bits=27 in rasm2 -L
2017-07-28 02:40:51 +02:00
pancake
7a74331c1e
Aim to make more portable the is_dead check in debugger
2017-07-28 02:24:06 +02:00