Commit Graph

141 Commits

Author SHA1 Message Date
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
Maijin
7938640445 Move all /t/ from r2 to r2r 2016-07-27 19:19:30 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
pancake
f96f00d62d Fix #5158 - Merge r_db into r_util 2016-06-17 12:19:16 +02:00
pancake
608b79d2b4 Finally fix the build on osx-ppc 2016-06-06 17:30:07 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
Damien Zammit
af0a865d9f WIP - Totally remove host endianness dependence
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
pancake
af78b8e37f More osx-ppc build fixes. Almost there 2016-04-28 14:33:51 +02:00
pancake
c9514302bf Fix some lifecycle memory leaks 2016-04-03 23:52:36 +02:00
pancake
cea9c6840c Initial mpc version of the ragg2 lang compiler 2016-03-11 11:24:11 +01:00
pancake
c9267523ac Fix memleaks in the ragg2 xor key thing 2016-03-06 23:38:09 +01:00
Pankaj Kataria
505756afcc Added default key for XOR encoding 2016-03-06 11:16:22 +01:00
DZ_ruyk
0e8b42787a Boring typo fixes
Can't -> Cannot (since most of error messages use second form)
2016-01-07 00:13:54 +01:00
Álvaro Felipe Melchor
5543f73cb1 Fix some covs 2015-10-29 23:39:49 +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
pancake
fb622d66ed Handle iOS/WatchOS/Linux SVC imm in REgg 2015-09-19 19:13:22 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
Jeffrey Crowell
603e13447c arm svc call should have 0 2015-09-01 23:09:20 -04:00
Jeffrey Crowell
3067f31b74 fix emit string for arm eggs
offset was off by 4
2015-09-01 23:00:24 -04:00
Jeffrey Crowell
a51a4110c2 r7 is the syscall register 2015-09-01 22:08:44 -04:00
pancake
74ce502bd5 Aim to solve #3219 ARM LDR analyzer issue 2015-09-02 01:40:12 +02:00
pancake
b321d7fd8c Fix local var and assemble of LDR instructions in ARM eggs 2015-09-02 00:58:39 +02:00
pancake
c8cb347a41 Fix string allocation issue for ARM eggs 2015-09-02 00:18:55 +02:00
pancake
58f12f31fc Use UDF16 as trap instruction for the ARM Eggs 2015-09-01 23:27:04 +02:00
pancake
a2b21a51ef Honor R_SYS_OS in asm.os eval var 2015-09-01 03:13:16 +02:00
Jonathan Neuschäfer
523aa3af5c add .version to all plugins 2015-07-12 19:05:33 +02:00
Álvaro Felipe Melchor
3536b9cb63 Fix #2741 2015-06-11 17:43:27 +02:00
Álvaro Felipe Melchor
4514f7aee3 Fix a invalid read of size 4 in rcc_context 2015-06-09 23:27:05 +02:00
Álvaro Felipe Melchor
3c22b5ccab Fix #2732 2015-06-09 23:27:05 +02:00
Álvaro Felipe Melchor
78d5a78609 Fix COVS 2015-06-04 21:27:41 +02:00
Quentin Santos
5e7f8e9fd8 Save raw binary changes to ragg2 buffer, fix #2336 2015-05-13 22:55:52 +02:00
Quentin Santos
e86769e428 Fix zero in egg buffer
Appending one too many character to the buffer effectively truncated it.
2015-05-13 22:55:51 +02:00
Quentin Santos
55305de3d4 Fix memory management in ragg2, resolves #2340 2015-05-09 10:41:38 +02:00
Anton Kochkov
7e79b198b1 Fix some more Coverity issues
Fix CID 1171365
Fix CID 1211169
Fix CID 1230038
Fix CID 1295063, 1295062, 1295061
Fix CID 1295070
Fix CID 1295068
Fix CID 12950067
2015-04-19 04:53:08 +03:00
Anton Kochkov
1479aeca8e Fix a few Coverity issues
Fix CID 1205204
Fix CID 1171365
Fix CID 1135001
Fix CID 1134921
Fix CID 1134848
Fix CID 1134840
Fix CID 1134824
Fix CID 1267983
Fix CID 1230038
2015-04-19 03:15:29 +03:00
pancake
2096e855ba Fix gs0 crash 2015-04-16 17:49:17 +02:00
jvoisin
07b9038e1a Refactor a bit r_egg_padding 2015-04-08 23:39:56 +02:00
pancake
ef6c71208d Fix tons of input crashes reported in #2220 2015-03-22 23:24:13 +01:00
pancake
515b2e77bc Fix about 40 COVs related to memleaks and buffer overflows 2015-03-21 01:27:54 +01:00
jvoisin
838c467724 Coverifix once again 2015-02-19 15:04:58 +01:00
jvoisin
b8cdd7c0f7 Even more coverifix 2015-02-11 21:51:13 +01:00
jvoisin
5ad3afb628 Coverifix 2015-02-11 17:55:25 +01:00
Jeffrey Crowell
bf943e8729 coverifix 2015-02-05 00:29:59 -05:00
jvoisin
95d9704498 More coverifix 2015-02-03 15:53:51 +01:00
JamesSullivan1
69c4a80e67 Fixed a pointer invalidation in r_egg_mkvar leading to an illegal free() 2015-02-02 01:41:37 +01:00
pancake
69b40d1afa Add ragg2 -n and -N and fix some bugs in r_buf and r_egg 2014-10-29 02:44:21 +01:00
pancake
92e85bf4c4 Fix linux-x86-64 shellcode (abspath) and make x/x work 2014-10-23 14:07:46 +02:00
pancake
7e1875e4ff Fix some warnings 2014-09-22 19:45:14 +02:00
pancake
dcbfaf5f88 Fix segfault in ragg2 -P -10 (thanks @maijin) (thanks @maijin) 2014-09-05 16:13:47 +02:00
pancake
30acdbf50c Refactor debruijn code and make it accessible from ragg2 -P 2014-09-05 16:03:40 +02:00