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
alvarofe
17995ab462
Fix r_core_anal_search_xrefs
...
Wrong check that made the function to return before its execution
r_io_section_valid_offset was checking by -x- but the ref could be
within data section
2017-08-28 17:21:40 +02:00
Giovanni
cee685cda2
1368054 Out-of-bounds read ( #8360 )
2017-08-28 16:50:26 +02:00
alvarofe
213cc1cdce
Fix plt detection in analysis by using bin info
2017-08-28 16:44:51 +02:00
Srimanta Barua
bbda39982b
Added backtrace to gdb ( #8361 )
2017-08-28 16:40:12 +02:00
Álvaro Felipe Melchor
514930fc3a
Fix off-by-one reported by @ret2libc ( #8362 )
...
half and closed ranges strikes
2017-08-28 16:30:39 +02:00
Srimanta Barua
aa9d2bcf41
fix segfault in case of wrong address ( #8359 )
2017-08-28 15:27:37 +02:00
xarkes
4e36b5b8aa
Fixed meson build ( #8358 )
2017-08-28 15:09:58 +02:00
xarkes
77615dd4ef
Added sdb/msvc to sdb-sync
2017-08-28 14:04:56 +02:00
Rene Laemmert
041e6241b7
remove aei and aeim from aepc command ( #8357 )
...
aepc should just change the eip
2017-08-28 12:53:03 +02:00
josediazfer
f11fea1e2b
Windows minor fixes, renamed w32 function names, added dbg.bpsysign option ( #8356 )
2017-08-28 10:19:57 +02:00
Fangrui Song
f91a3bba6f
cmd_section.c: add command name beside case labels ( #8348 )
2017-08-28 10:17:34 +02:00
Fangrui Song
a41ae6779a
Fix a few t.anal tests by bring back the old hack r_io_read_at(io, addr, code, 4) ( #8352 )
2017-08-28 10:14:42 +02:00