Commit Graph

244 Commits

Author SHA1 Message Date
Anton Kochkov
e9c2d22da9 Fix windows detection in headers () 2017-01-25 11:30:16 +01:00
pancake
41602c4212 Fix android build 2017-01-18 13:46:39 +01:00
pancake
a2cb6b6647 Fix a bunch of pedantic warnings and drop exits in base85
* Define eprint() when no formatting is necessary
* Remove exit() from ascii85 when allocation fails
* Update capstone
* Return null instead of exit if malloc fails in r_str_word_get_first
* Update sdb with a bunch of pedantic warnings fixed
* Drop windows-style newlines from judy64na.c
2017-01-15 23:36:19 +01:00
pancake
b70ac26f4a Add R_FREE define guards to skip some warnings 2017-01-15 19:12:29 +01:00
pancake
62e1edc01c Bump sdb to fix hash collision issues 2017-01-14 22:02:33 +01:00
Khairul Azhar Kasmiran
dd34efe018 Allow multiple calls of cdb_init without leaking or failing () 2017-01-09 00:04:00 +01:00
pancake
3fa97e94cb Fix latest covs 2016-11-29 11:52:24 +01:00
Álvaro Felipe Melchor
5800b23e8f Fix - "fix" uaf in fcn_callconv
share ownership should be taken with care
2016-10-26 18:57:15 +02:00
Álvaro Felipe Melchor
d3add04b5a Fix oob read 2016-09-24 02:14:53 +02:00
Ahmed Mohamed Abd El-MAwgood
6c47f5a20d Basic merge of no return function with types db () 2016-09-20 21:54:44 +02:00
pancake
e1b94b8343 Update sdb to fix an overflow in the base64 decoder 2016-08-15 01:02:05 +02:00
Ahmed Mohamed Abd El-MAwgood
4f413e7720 initial support for type matching ()
Enabling stepping over
Basic (sym.imp.*) call catching routines
Fixing esil tracing bug and verbosity
Adding some apis for handling function prototypes and abstacting sbd queries
Fixing the double execusion bug in esil tracing
passing types into vars for `stack`
fixing trailing spaces
doing the regester branch
doing the stack_rev
2016-08-13 12:09:14 +02:00
pancake
8e45f6248c Fix - Code cleanup and refactor 2016-08-01 13:58:14 +02:00
Anton Kochkov
08c5adee04 Fix Mingw building [3] 2016-07-29 16:34:08 +03:00
Anton Kochkov
65e4ab058c Update sdb to 0.10.4 2016-07-29 15:51:36 +03:00
Jeffrey Crowell
e65ceb5dee fix some memory leaks reported by coverity 2016-07-09 01:41:56 -04:00
pancake
d39d9b83e0 Update SDB from git fixing some possible null derefs 2016-07-06 17:03:34 +02:00
pancake
a745a9a6f8 Update SDB from git (optimizations and new apis) 2016-07-05 15:31:51 +02:00
pancake
e3f7749f56 Aim to fix the sdb_version race condition issue 2016-06-25 18:26:34 +02:00
pancake
b53d065504 Update sdb and cleanup r2pipe-w32 2016-06-06 14:40:58 +02:00
pancake
d24bc909ec Update sdb for osx-ppc and other 0.10.2 updates 2016-04-27 00:25:28 +02:00
pancake
b5f3b0fc7f Bump sdb 2016-02-27 15:29:02 +01:00
pancake
36a61b6f10 Optimize a70caf7160 2016-02-24 18:09:30 +01:00
pancake
f76d9811f7 sdb_fmt_tobin returns the number of items and fixes a double-alloc 2016-02-24 18:06:49 +01:00
pancake
636e0d6473 Update sdb from git to fix a crash on windows 2016-02-15 19:01:50 +01:00
pancake
5198c3b1a9 Bump capstone and sdb from git 2016-01-20 16:29:20 +01:00
pancake
5eea48f3a8 Fix - respect endianness in ? numstr 2016-01-11 01:39:15 +01:00
pancake
a362dcf6d9 Update sdb and fix more null derefs caused by mem exhaustion 2016-01-11 00:24:18 +01:00
François Revol
797a2efc81 C89
(duplicate ; is treated as an empty statement)
2015-12-07 21:48:44 +01:00
François Revol
8439c5f683 Only use gcc's visibility attribute starting from 4.0
cf. https://gcc.gnu.org/wiki/Visibility#Step-by-step_guide
2015-12-07 21:48:44 +01:00
pancake
a411b06b59 Fix clang-analyzer script 2015-11-09 22:28:21 +01:00
pancake
aaccaea40b Update sdb to get lower memory consumption 2015-11-09 05:07:53 +01:00
pancake
9c9bb2dbd5 Memory optimization for flags (-70%) + some warnfixes + sdb-sync 2015-11-08 23:38:42 +01:00
pancake
5f1c26715a Update SDB 2015-11-05 17:43:01 +01:00
pancake
22c277bbb7 Bump sdb to fix r_offsetof 2015-10-28 10:33:06 +01:00
skuater
cdfb82cfd3 Fix r2pipe to allow more data transmision at windows 2015-10-28 10:12:38 +01:00
xambroz
d448260816 build cleanup focused on possibility to control the lib directories with the build parameters
needed mainly for RedHat/Fedora builds
2015-10-27 03:26:45 +01:00
Anton Kochkov
d5108a8130 Update SDB (windows macro) 2015-10-21 12:53:35 +03:00
pancake
6ed80ae39b Update sdb and rename rmkdir->mkdirp 2015-10-19 00:25:39 +02:00
pancake
e66b5bff8d Update sdb from git 2015-10-16 12:54:44 +02:00
gk
a39acdd25e Need -lutil for forkpty on *BSD, Android 2015-10-08 12:56:11 +02:00
Anton Kochkov
0e4a161aea Do not use -MMD option in SDB for TCC 2015-10-07 01:42:34 +03:00
Kamil Rytarowski
a521fb9b9d Fix array subscript vulnerability
match.c: In function 'mycmp':
match.c:27:3: warning: array subscript has type 'char' [-Wchar-subscripts]
   if (tolower(a[i]) == tolower(b[j])) {
   ^
match.c:27:3: warning: array subscript has type 'char' [-Wchar-subscripts]

Problem caught on NetBSD.
2015-10-03 12:43:37 +02:00
pancake
39abb5f89c Update capstone from git 2015-09-23 02:01:08 +02:00
pancake
5449c8d889 Update sdb from git 2015-09-23 01:56:05 +02:00
pancake
7c3ef24314 Delegate dmm logic into the native plugin.
- Add native iOS/OSX support to list modules
- Generic fallback used for the rest of platforms
- Update sdb to fix ~{}
- Fix ARM64 analysis typo issue
2015-08-24 01:29:35 +02:00
pancake
43f71e0c92 Update capstone, capstone-patches, sdb and some CFLAGS honoring fixes 2015-08-19 14:19:24 +02:00
pancake
6ae0417278 Updsate SDB to optimize dupped symbol checks in mach0 parser 2015-07-24 13:24:32 +02:00
pancake
6f171bcc7d Update capstone and sdb 2015-07-21 18:11:38 +02:00
pancake
d2233a896b Add de Debugger Esil API for advanced software watchpoints
- Implemented in r_debug_esil_* APIs
- Support for step-into and continue
- Expressions can be regs, numbers, math operations, ranges, comparisons..
- Honor dbg.prestep for stepping before or after analysing
- read-write-exec watchpoints using native debug backend and esil emulation
- OSX/iOS debugger error message is now nicer
- anal/rpnesil renamed to esil
- Add esi,edi in osx regprofile
- Add r_cons_is_breaked() for consistency
2015-07-21 06:11:42 +02:00