Commit Graph

22055 Commits

Author SHA1 Message Date
murphy
dd46d3d359 Fix 1408737 Out-of-bounds write 2021-04-01 21:52:06 +02:00
Francesco Tamagni
3b9f63e506 Fix NULL dereference 2021-04-01 21:48:39 +02:00
Francesco Tamagni
7e2941d017 Fix Mach-O related coverity issues ##bin 2021-04-01 21:48:39 +02:00
Taggggy
d5a6239965 Fix pcdelta for ARM esil LDR ##anal 2021-04-01 15:29:09 +02:00
Reviakin Evgeny
8d0f9042d2
Fix /ad of multiple consecutive instructions ##search 2021-04-01 00:47:35 +02:00
RHL120
cec6d6ea43
Freed Variables After Last Use In project.c (#18522)
* In load_project_rop() rc_path is not freed when not in use

* Check if prj_dir is NULL before using it

* Revert "In load_project_rop() rc_path is not freed when not in use"

This reverts commit d4cdb2d1d8.

* Removed my stupid git mistake

* Removed pointless free()

* Added missing free (prj_dir);

* Ran free (str) in r_core_project_execute_cmds() after last use
2021-04-01 00:44:02 +02:00
pancake
25597533bd
Improved pdc, added pdco and pdcj, print orphan nodes ##print (#18518) 2021-03-31 23:46:59 +02:00
pancake
fd1484525a
Implement drcq and show it in visual debug/emu ##debug (#18519)
Co-authored-by: pancake <pancake@nopcode.org>
2021-03-31 19:26:19 +02:00
Murphy
a0213f0347
Fix some coverity vulnerabilities (#18516)
* Fix 1451533 Resource leak
* Fix 1451532 Resource leak
* Fix 1451074 Buffer not null terminated
* Fix 1409066 String not null terminated
2021-03-30 22:05:47 +02:00
condret
507d173c98 Fix uninitialized RBIter.path 2021-03-30 21:53:52 +02:00
Francesco Tamagni
c4bbe4996c
Fix coverity issues in xnu kernelcache ##bin (#18514) 2021-03-30 16:00:59 +02:00
pancake
58923119f9 Fix null deref in anj 2021-03-30 01:49:01 +02:00
pancake
bd0b0be77b
Two coverity findings less 2021-03-30 00:56:04 +02:00
pancake
924b6600e7 Rename lowercase codemeta structs and other fixes 2021-03-30 00:47:52 +02:00
pancake
e3944b27ef Check for null in this codemeta api 2021-03-30 00:29:09 +02:00
pancake
fdbd440bb7
ABI/API break. RAnnotationCode->RCodeMeta ##api (#18512) 2021-03-30 00:20:06 +02:00
pancake
9282d35830 Fix double free in unix connect 2021-03-30 00:08:32 +02:00
pancake
9f23cf7378 Fix #18502 - dangling pointers issues in dbm ##debug 2021-03-29 21:25:20 +02:00
pancake
e81b3dae06 Add example for the SPP rlang plugin 2021-03-29 21:09:34 +02:00
pancake
0f4bc7191b Add #!*? command to show rlang plugin examples ##lang
* Add examples for C and V
2021-03-29 21:00:45 +02:00
pancake
a001a33a72 Fix #18510 - json assert in drtj 2021-03-29 19:44:56 +02:00
pancake
b282cda9fa Disable the mini graph by default 2021-03-29 19:32:17 +02:00
pancake
e3dfe63657 Fix a couple of warnings 2021-03-29 11:40:33 +02:00
pancake
8dc2894613 Add agfb for braile graphs ##visual
* Can be used from shell, panels or visual
* Added graph.zoom and graph.mini config variables
* Add r_str_size() api like r_cons_size()
* Add r_cons_pixel_flush()
2021-03-29 11:34:57 +02:00
pancake
625aca16e6 Implement RConsPixel and RBraile APIs ##cons 2021-03-29 11:34:57 +02:00
pancake
8b3f56d803 Add utf8 support with braile apis 2021-03-29 11:34:57 +02:00
pancake
ac3c9f04bb Add p-- for graphing oneliner with the current block byte values 2021-03-29 11:34:57 +02:00
intruder-kat
7d8fc23cb6
Correct function pointers and allow fallback on libutil.so for dyn_init (#18505) 2021-03-29 11:11:38 +02:00
Dennis Goodlett
dcfd5fed5f
Abstract r_diff_levenshtein_path ##diff (#18509) 2021-03-29 00:32:17 +02:00
pancake
72bb4d6000
Simplify and correct an fix (#18507) 2021-03-28 20:20:38 +02:00
pancake
8d678888a9 Fix assert in an command 2021-03-26 02:48:21 +01:00
Roman Valls Guimera
510ddab0e5
V850 jmptable fix, cmpval is almost always -1 and slows anal to a crawl (#18498) ##anal 2021-03-21 02:27:23 +01:00
Dennis Goodlett
51c5317b49
Fix overflow in lev path #diff (#18497) 2021-03-19 21:37:22 +01:00
Dennis Goodlett
efcb2c927f
Add Levenshtiend path API to ##diff (#18494)
* Added Levenshtien API that returns array changes
2021-03-19 17:42:30 +01:00
pancake
3bfa6b10cf Add the nogpl meson option ##build 2021-03-19 17:41:01 +01:00
pancake
2ab0934784 Dont build the QNX IO plugin if built without GPL support 2021-03-19 17:41:01 +01:00
pancake
4bf8bf7447 Add missing v850 calling convention definition file ##anal 2021-03-19 14:05:03 +01:00
pancake
a7c08c15ce Don't scream out WARNINGs, capitalizing it is enough 2021-03-19 11:02:54 +01:00
condret
ba099f8d95 Rename dep in rbtree.c to depth ##util 2021-03-18 22:44:53 +01:00
pancake
535ebd2b24 Remove dead code from the vlang plugin 2021-03-18 19:19:42 +01:00
pancake
59ef16fd3b Add support to the V programming language for scripting ##lang
* Code taken back from radare2-rlang
2021-03-18 17:49:33 +01:00
pancake
04022ede34 Revert "Fix memleaks in agraph by keeping a separated list of dummy nodes ##visual"
This reverts commit 9f91932eb1.
2021-03-18 17:02:15 +01:00
pancake
990d6c9855 Use snprintf instead of sprintf in io.debug for linux 2021-03-18 03:28:15 +01:00
pancake
a980a1a0b0
Fix asan crash in DEX with big negative type sections (#18492) 2021-03-18 03:26:08 +01:00
pancake
2b8671012f
Fix ASAN crash spotted after r_str_ndup refactoring in x509 (#18481)
* Reproducer: r2 SEGV-a94-0b5-0a6
2021-03-18 02:21:00 +01:00
pancake
dac5c3850e
Implement ssdeep fuzzy hashing algorithm ##hash (#18490)
* Based on https://github.com/glaslos/ssdeep
2021-03-18 00:35:03 +01:00
pancake
db6ecbfeaf Implement whoami and uid commands ##shell 2021-03-17 18:45:24 +01:00
condret
0db0250108 Remove unused type FcnTreeIter ##anal 2021-03-17 18:32:48 +01:00
condret
dad8a523cf Rename d, d2, d3 in rbtree.c to direction ... ##util 2021-03-17 17:48:09 +01:00
condret
c1033118bf Optimize r_rbtree_cont_{first/last} #18485 ##util 2021-03-17 15:44:40 +01:00