Commit Graph

15826 Commits

Author SHA1 Message Date
alvarofe
f40ca6d5cd Use r_core_get_boundaries in aac 2017-08-31 00:45:29 +02:00
alvarofe
0626288ff7 Fix some off by one in search pointed out by pancake
Main issue sections are half opened and maps closed
2017-08-31 00:26:23 +02:00
pancake
3df56bb671 Enhance aav for mips, af@@aav* may be added at some point 2017-08-31 00:24:17 +02:00
alvarofe
125474d3c5 Fix a2f test 2017-08-31 00:02:34 +02:00
alvarofe
3d9bade322 Fix io_zip plugin after crashes and regression due to leaks 2017-08-30 23:54:15 +02:00
Srimanta Barua
7071e51d1a bring back a not-quite-infinite loop (#8386) 2017-08-30 23:51:12 +02:00
alvarofe
60161d2bef Stray characters strike again 2017-08-30 23:11:53 +02:00
alvarofe
719612816d Fix jmptbl test 2017-08-30 23:04:40 +02:00
alvarofe
d5f2c7cce5 Fix aap for searching preludes 2017-08-30 19:26:27 +02:00
alvarofe
a8efcbae32 Minor changes to use API instead of pointers manipulation 2017-08-30 19:01:52 +02:00
pancake
ec2abcdebb Fix build on Linux 2017-08-30 17:49:33 +02:00
pancake
8ec5e65d84 Blindfix for #8349 - Fix build on macOS 10.7.5 2017-08-30 17:03:40 +02:00
josediazfer
fe340937c6 FIX: Looking for CreateToolhelp32Snapshot function 2017-08-30 16:26:15 +02:00
xarkes
f6caf511ca Less verbosity for PDB (#8382) 2017-08-30 09:49:31 +02:00
pancake
d67ecceea1 Fix infinite loop if connection is lost 2017-08-30 02:15:13 +02:00
pancake
d8f15c317c Add LC_CODE_SIGNATURE for rabin2 -H on mach0 bins 2017-08-30 02:09:58 +02:00
pancake
dba94495db Add a map when using gdb remote to avoid the need to unset io.va 2017-08-30 02:06:55 +02:00
pancake
372d9919cc Fix syscall resolution when doing gdb remote on darwin-arm64 2017-08-30 01:57:06 +02:00
condret
3cae212b6a fix o- Fuck You RCoreFile 2017-08-30 01:40:05 +00:00
pancake
2b181659f0 Fix regprofile parsing from remote lldb on ios-arm64 2017-08-30 01:17:39 +02:00
alvarofe
6eef80c4da Fix NULL dereference 2017-08-29 20:06:06 +02:00
alvarofe
82de0bea57 Fix r_io_map_add to be less restrictive
To allow this

air:vsf alvaro$ r2 ../../bins/vsf/c128-rhps-norom.vsf
 -- This page intentionally left blank.
[0x0000ff2f]> S
[00:00] * pa=0x0000008c mrwx va=0x00000000 sz=0x10000 vsz=0x10000 RAM_BANK_0
[00:01] * pa=0x0001008c mrwx va=0x00000000 sz=0x10000 vsz=0x10000 RAM_BANK_1
[0x0000ff2f]> om
 2 fd: 3 +0x0000008c 0x00000000 - 0x0000ffff -r-x fmap.RAM_BANK_0
 1 fd: 3 +0x0001008c 0x00000000 - 0x0000ffff -r-x fmap.RAM_BANK_1
2017-08-29 19:59:27 +02:00
alvarofe
7c90d05bef Fix crashes due to pointer arithmetic and NULL dereference 2017-08-29 19:09:45 +02:00
alvarofe
27b12c7345 Use vsize instead of size in some places 2017-08-29 18:42:56 +02:00
Maijin
d46995c2f7 Add the sdb.txt remove the sdb 2017-08-29 15:52:19 +02:00
pancake
603f8013ea Fix crash introduced in recent memleaks fix 2017-08-29 15:50:56 +02:00
Maijin
48f545e561 Add wsnmp32 #7764 2017-08-29 15:48:28 +02:00
pancake
e93ff81d85 Fix r2 -qA 2017-08-29 15:35:44 +02:00
pancake
01b27c1bf9 Fix build and some warnings, introduced in last commit 2017-08-29 13:27:24 +02:00
Giovanni
2740763886 Merging all cov fixes (#8377)
* 1356272 Resource leak
* 1356452,1356450 Resource leak
* flavour + strdup and fixed mistake
* 1361500 Resource leak
* 1360784 Resource leak
* 1367821 Resource leak
* removed missing allocated vars
2017-08-29 13:15:47 +02:00
Fangrui Song
277ea0dcb4 Fix memory leak in rasm2 by moving ownership of syscall from RAnal to RAsm
- Move null chk into the r_syscall_free
2017-08-29 12:42:49 +02:00
Giovanni
e4342297c4 Various fixes for bugs from coverity + bonus (#8372)
* 1356014 Resource leak
* 1356012 Resource leak
* 1356010 Resource leak
* 1355967 Resource leak
* 1355960 Resource leak
* 1352987 Resource leak
* 1352986 Unintentional integer overflow
* 1352985 Unintentional integer overflow
* fixed coverity missed null deref
* 1347178 Resource leak
* 1347178 Resource leak
* 1346910, 1363297 Resource leak
2017-08-29 12:39:49 +02:00
Giovanni
d084d92ff0 Coverity bugs 29 aug (#8376)
* 1380031 Resource leak
* 1380032 Logically dead code
* 1380034 Dereference before null check
* 1380035 Explicit null dereferenced + flavour
* 1361726 Resource leak
2017-08-29 12:39:04 +02:00
alvarofe
4933b39cf8 Use rbin's section instead of io's counterpart 2017-08-29 00:39:42 +02:00
alvarofe
bbca2d3dff Trap before in anal_java to avoid continue execution 2017-08-29 00:12:14 +02:00
alvarofe
9ff143e2fd Make sure just taking into account has_va for real bin plugins 2017-08-28 23:41:46 +02:00
alvarofe
b099901d96 Fix flirt 2017-08-28 23:27:20 +02:00
alvarofe
702b63955f Fix partially cmd_zignature
what fails is flirt now
2017-08-28 23:24:37 +02:00
alvarofe
c652ac8ae6 Fix regression 2017-08-28 22:48:28 +02:00
alvarofe
9092183a73 Remove other damn stray :( 2017-08-28 22:18:22 +02:00
alvarofe
2a186fdcf4 Fix a little bit java by mapping desc 2017-08-28 22:08:50 +02:00
alvarofe
4cd119b4f5 Get rid of R_IO_MAP 2017-08-28 21:43:29 +02:00
alvarofe
137f1d69e1 All section on IO are mapped 2017-08-28 21:35:32 +02:00
Richard Maciel
971715219b Fix svc esil code for aarch64 (#8371)
analop64_esil lacked case ARM64_INS_SVC. This patch adds it and the
code to correctly print the esil representation for svc instruction.

This fixes issue #8370.
2017-08-28 21:24:01 +02:00
alvarofe
233574cf8e Set io.va to false if binobj says so 2017-08-28 21:22:46 +02:00
pancake
731ff16101 Fix null deref on old UNIXes passing NULL in realpath 2017-08-28 21:16:43 +02:00
alvarofe
682f9de5e3 Fix some cmd_search issues 2017-08-28 21:10:12 +02:00
pancake
a48c3b7d1e Disable jemalloc for old mac-ppc builds, so much crappy code 2017-08-28 20:49:33 +02:00
alvarofe
38786dfa58 Bring back old string recognition for DEX
it might be innacurate since the offset given in iz is not the real
string but seems dex derference those offsets.
2017-08-28 18:02:29 +02:00
pancake
d4c258a73e Avoid binloading from UT64_MAX length 2017-08-28 17:42:17 +02:00