Commit graph

1018 commits

Author SHA1 Message Date
Álvaro Felipe Melchor
0fd2a3d87c Fix #2869 - oob write in r_print_randomart due to bad allocation 2015-07-05 20:44:03 +02:00
Álvaro Felipe Melchor
b794485918 Fix #2874 2015-07-05 20:44:03 +02:00
Riccardo Schirone
40e0884e57 util/graph: move adjacency lists to the RGraphNode 2015-07-03 09:40:35 +02:00
Álvaro Felipe Melchor
e5e23c2377 Fix #2808 - oob read in updateAddr 2015-06-28 02:42:33 +02:00
Álvaro Felipe Melchor
e0d89584e3 Fix #2833 - oob in r_wstr_clen 2015-06-28 02:41:09 +02:00
Jeffrey Crowell
eb1f379d14 Revert "start using wcs"
This reverts commit 731ef331f5.
2015-06-26 23:54:01 -04:00
Jeffrey Crowell
731ef331f5 start using wcs 2015-06-25 21:07:58 -04:00
Riccardo Schirone
4003e6b8ae util/print: fix a heap overflow when len is not a multiple of step 2015-06-25 02:07:17 +02:00
Riccardo Schirone
efa0ae88df util: code refactoring
* improve indentation of r_mem_copyendian and r_print_hexdump
* remove duplicated code
2015-06-25 02:07:17 +02:00
Jeffrey Crowell
ab0b035203 rewrite r_glob_str to fix #2836 2015-06-24 01:16:11 -04:00
pancake
ee4585684a oops 2015-06-21 14:10:36 +02:00
pancake
2b8e31592c Handle TARGET_OS_IPHONE and fix r_sandbox_system() issue 2015-06-21 12:47:09 +02:00
pancake
04a2718657 Add version field in plugins, and check it before loading 2015-06-21 10:09:12 +02:00
pancake
8f25a9b344 Fix iOS build, crashes in reflines, analysis issues on OSX debugger and more! 2015-06-21 00:50:53 +02:00
pancake
fa7546101a Support r_str_unescape for backspace 2015-06-20 23:40:52 +02:00
jvoisin
9a7bf7751b Coverifix 2015-06-19 21:30:57 +02:00
Álvaro Felipe Melchor
5d8ce1b4a4 Fix #2765 2015-06-17 23:25:50 +02:00
Anton Kochkov
3f6dd0c11f Fix CID 1306842 2015-06-17 14:30:43 +03:00
pancake
72215da3c1 Fix px regression 2015-06-17 11:42:44 +02:00
Riccardo Schirone
31099a3a54 util/graph: add DFS visit implementation and r_graph_del_edge/node 2015-06-17 11:22:10 +02:00
Riccardo Schirone
77a26237fe util/list: add some const to the API and adapt existing code 2015-06-17 11:22:10 +02:00
pancake
b10aa5a0a2 Initial support for loading Android ART binaries 2015-06-17 11:14:41 +02:00
Álvaro Felipe Melchor
53badd517d Fix COVs 2015-06-17 00:22:40 +02:00
Álvaro Felipe Melchor
e40fe434bb Fix #2765 2015-06-16 22:48:37 +02:00
pancake
8d0b8c6b78 Add CS command to manage meta-spaces 2015-06-15 04:19:29 +02:00
Álvaro Felipe Melchor
e58c46c0cc Fix #2737 2015-06-14 23:15:51 +02:00
Riccardo Schirone
b279f282ba Refactoring ascii art graph
util/stack: extend stack api with r_stack_size
core/graph: use RStack instead of a custom implementation
util/graph: change implementation to use lists and extend api
core/cmd_debug: avoid free r_graph_get_nodes
core/graph: rename some functions and use typedefs for graph struct
core/graph: use RGraph for the ascii art graph
util/list: add const whenever possible
util/graph: add const on r_graph_get_nodes/neighbours
core/graph,core/cmd_debug: use const
core/graph: clean the code (add comments, use const, remove magic nums)

* use r_graph_node_iter for the current node
* reset graph when reloading nodes
* on callgraph edges printing, nth should be 0
* force seek of current node when reloading nodes
* use graph_foreach_node
* core/graph: remove get_current_node because useless
2015-06-14 00:46:11 +02:00
jvoisin
6ea8a866f6 Fix two coverities 2015-06-12 23:19:14 +02:00
Riccardo Schirone
177ee3ac56 include/r_types: fix R_NEWS0 calloc usage and use it in libr/util 2015-06-12 12:48:39 +02:00
pancake
a4e5081c87 Fix w32 project open issue with abspath 2015-06-12 11:49:58 +02:00
Riccardo Schirone
49ebf0942c libr/util: reimplement graph api
libr/util/t/graph: add test
2015-06-11 22:53:48 +02:00
Riccardo Schirone
9558a2b7f8 libr/util: implement a tree
libr/util/t/tree: add test
2015-06-11 22:53:48 +02:00
Riccardo Schirone
c640e68e56 libr/util: implement a simple queue
libr/util/t/queue: add test
2015-06-11 22:53:48 +02:00
Riccardo Schirone
0b091a6c5f libr/util: implement a simple stack
libr/util/t/stack: add test
2015-06-11 22:53:47 +02:00
pancake
5954f6e046 Fix #2716 - sdb, rmkdir and console issues on w32 2015-06-11 12:12:22 +02:00
pancake
43d891503e Honor R_SYS_DIR in more places to make w32 happy 2015-06-09 13:47:45 +02:00
Oleksii Kuchma
0c57a435fc Rewrite MZ bin plugin
* Add const modifiers, fix function call style
* Add checking and using dos_file_size
* Fix number of arguments in load_bytes.
* Add check for NE, LE and LX executables.
* Fix function declaration for btree_traverse.
2015-06-08 22:18:21 +02:00
pancake
a093958b6d Release 0.9.9 - codename AlmostThere 2015-06-05 04:07:13 +02:00
pancake
d168388f5c Add pxrj command to show word refs in JSON 2015-06-04 22:58:08 +02:00
Judge_Dredd
2acf7d4a03 arbitraty number of matches in cons/less search, refactor 2015-06-04 09:21:05 +03:00
jvoisin
0c144f16bc Even more coverifixes 2015-06-02 22:59:30 +02:00
pancake
47860d67dc Remove more references to r_diff 2015-06-02 10:31:30 +02:00
pancake
2970b9817b Fix #2674 - merge diff into util 2015-06-02 01:35:12 +02:00
jvoisin
8155c6e8f2 Even more coverifix 2015-06-01 23:06:55 +02:00
Judge_Dredd
264883a097 Refactor cons highlight 2015-06-01 21:58:07 +02:00
zlowram
56be7aeee9 Fix r_list_join when list1 is empty
This also fixes the local vars definition in functions with no arguments
2015-06-01 21:48:41 +02:00
Riccardo Schirone
da2565a83d util/str: consider not visible newlines in r_str_crop 2015-05-31 20:20:31 +02:00
pancake
22c9b3f0fe Fix #2628 flags offset hashtable issue and Fix #2607 ELF relocs 2015-05-29 00:51:57 +02:00
pancake
57a0850014 Fix #2640 - crash in s/ 2015-05-28 19:38:24 +02:00
Judge_Dredd
b190fff5e2 fix for #2314 and #2312 2015-05-28 00:28:25 +02:00