33 Commits

Author SHA1 Message Date
Alexis Ehret
21c98d60ac Remove all dead assignment detect by clang sa (#310) ##rizin 2021-01-19 05:37:17 +01:00
pancake
76cd69ad66 Proper artifact naming and use more r_str_get to avoid some null derefs 2021-01-13 02:08:06 +01:00
pancake
160fc95e66
Use (void) instead of () in function signatures (#17026) ##refactoring
* Use (void) instead of () in function signatures
* Add test to avoid further contributions to commit the same mistake
2020-06-14 16:08:32 +02:00
radare
f70702c299
Fix #16093 - support syscall redefinition in REgg (#16106) 2020-03-02 23:46:22 +01:00
Anton Kochkov
f93ebed36d Small cleanup of libr/egg 2019-08-06 12:32:50 +08:00
Anton Kochkov
20e19d6023 More spelling fixes in the code 2019-06-20 13:36:02 +08:00
radare
93af319e0a
Fix #14296 - Segfault in ragg2 (#14308) 2019-06-15 14:18:54 +02:00
dav1901
f24556c189 Fix few clang-analyzer warnings (#12548) 2018-12-24 01:18:12 +01:00
dav1901
303a57bb85 Minor code cleanups/fixes (#12519) 2018-12-20 11:50:29 +01:00
dav1901
9b0fbf1ee4 Minor code cleanups - free/R_FREE/etc 2018-11-13 00:23:49 +01:00
Neven Sajko
4a722e80d8 Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
pancake
31d550a54b Introduce r_sys_prefix 2018-01-16 11:58:47 +01:00
pancake
303820dbac Initial purge of R2_PREFIX towards dir.prefix 2018-01-16 11:13:21 +01:00
pancake
fa99c914bf Fix #8713 - null deref in egg 2017-10-19 17:34:38 +02:00
pancake
a15925b980 Fix null derefs in egg + unnecessary null chk in xrefs 2017-10-09 12:23:13 +02:00
Jose Diaz
f1d7f821ff Removed global variables and fixed several leaks 2017-10-07 09:52:09 +02:00
pancake
3802266221 Fix crash in 22.22.22ddd d do@ 2017-09-30 18:41:29 +02:00
pancake
19f3e00482 Fix crash in .dd dd)ddd dddr{G 2017-09-30 18:24:24 +02:00
josediazfer
bacd615e0d Egg Issues (#8593)
* Fix pushing inmmediate args using the x64 arch
Added directive .rargX (ar0, ar1,...etc)

* replaced atoi() by r_num_math()
2017-09-27 11:29:15 +02:00
pancake
f805d0672a Fix warnings 2017-09-17 23:27:43 +02:00
Giovanni
7b40f7aed1 16 more bugs fixed. most are mem leaks. (#8307)
* 1379261/1379262 Resource leak

* 1379258/1379249 Resource leak

* 1379020 Resource leak

* 1351565/1351564 Logically dead code, 1379019 Uninitialized scalar variable, 1379014 Operands do not affect result

* 1379017 Resource leak

* 1379016 Resource leak

* 1379015 Resource leak

* 1377414 Resource leak

* 1376336 Resource leak

* 1375800 Resource leak

* 1373505/1373509/1373504 Resource leak

* 1373496 Resource leak
2017-08-24 17:20:39 +02:00
pancake
fd7dfad154 More fixes 2017-08-19 17:16:54 +02:00
pancake
17752cdb52 Fix a memory leak found by coverity 2017-08-02 21:42:42 +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
Anton Kochkov
246dd7f94a Fix more big memory leaks 2017-07-30 16:50:51 +08:00
izhuer
590d855f78 Simplify rcc_mathop and fix a bug when operation starts with bit operation 2017-06-21 11:13:43 -05:00
ZHANG ZHUO
8e5f2154b2 fix an stupid bug when using r_str_newf 2017-06-20 16:15:18 +08:00
pancake
5af3ec4b66 Fix last covs 2017-06-18 01:11:11 +02:00
ZHANG ZHUO
1b14b1724b use r_str_newf to replace snprintf 2017-06-15 22:15:41 +02:00
ZHANG ZHUO
bc05187068 remove ugly NULL syntax 2017-06-15 22:15:41 +02:00
Zohn_Z
76f0ce7c9f Several fixes for ragg2
* fixed some bugs in rcc_pushstr in egg_lang.c
* fix bugs when strings within ',' and strating with non-zero char
* fix some error fixes
* fix the segment fault when calling functions with arguments
* add support for directory in include
* make some little changes
* add support for include and alias
* add some debug eprintf
* fix wrong label bugs in "while" syntax and rename some label
* fix odd syntax in "while" and "if"
* rename the labels
* add support for if\-else
* make some little changes for pretty print
* take a snapshot before writing confusing mathop
* finish mathop
* delete some unnecessary code in if-else frame to bypass test
* reindent all the thing
2017-06-14 15:35:29 +02:00
davidpolverari
1fb422b532 Fix #6162 - Renames r_str_concat to r_str_append 2017-03-16 22:29:49 +01:00
pancake
79ab75c78f More builds fixes for less plugins 2017-02-02 13:25:17 +01:00