Commit graph

1324 commits

Author SHA1 Message Date
pancake
b5356bdf07 Fix regression introduced in oobread print_hexpair 2015-11-17 01:45:14 +01:00
pancake
84ceb633e1 Fix "!ps|grep ls" in iOS (r_sandbox_system) 2015-11-17 01:00:22 +01:00
pancake
9c5a309791 Fix oobread in print_hexpair and fill buf_hex in unaligned disasm 2015-11-16 22:37:02 +01:00
pancake
04cd1250c2 Add alignment for AVR code 2015-11-15 00:29:33 +01:00
Dima Turchenkov
97edd9a452 correct usage of inflate() in *.sig loader 2015-11-13 20:44:32 +01:00
pancake
a916a735e9 Fix #3682 - Handle 'x' char values by RNum 2015-11-12 00:20:37 +01:00
Anton Kochkov
60e1151ed9 Fix Cygwin mkdir 2015-11-10 18:41:32 +03:00
pancake
55800c1ed7 Fix r_str_ndup 2015-11-09 21:54:57 +01:00
pancake
baf63a0cba Reduce RBinSymbols memory (smaller footpronum) 2015-11-09 03:41:07 +01:00
pancake
fc7f195b5b Fix pxd 8 2015-11-05 13:15:15 +01:00
pancake
b148b4a68e Fix ASAN crash in pxw test 2015-11-05 08:53:54 +01:00
pancake
8e3421d222 Remove unused variables 2015-11-05 00:47:27 +01:00
Álvaro Felipe Melchor
b1583d5b24 Fix more issues reported by clang-analyzer 2015-11-03 22:14:00 +01:00
pancake
75adfec670 Fix doublefree in btree and use-after-free in windbg 2015-11-02 12:32:31 +01:00
pancake
dd47aba9a2 Fixes for sys/static.sh 2015-11-01 10:26:38 +01:00
Kamil Rytarowski
9142144338 Fix build with external libzip
Caught on NetBSD with pkgsrc
2015-10-31 17:32:26 +01:00
pancake
0648cea3e5 Refactoring of the minidump code for portability and -1500LOC 2015-10-31 17:27:46 +01:00
pancake
691e0c8c1a Fix latest COVs 2015-10-31 12:06:40 +01:00
pancake
8b31fe3ba1 Fix crash in previous commit 2015-10-29 23:41:29 +01:00
pancake
198174957c Fix rax2 -F C parser 2015-10-28 10:11:32 +01:00
pancake
b05c48f4c0 Fix pfd crash and support enums and more formats 2015-10-27 04:52:24 +01:00
pancake
02e719fafe Aim to fix eeaf87ece627fe94f92f836ac3467ffd @revskills dyldcache crash 2015-10-26 03:45:54 +01:00
pancake
b312439484 Fix #3476 - wf support offset and size parameters 2015-10-26 03:29:57 +01:00
gk
9fcd6ed3a4 Do not try and allocate a stack if we have no edges 2015-10-26 00:50:56 +01:00
pancake
f4e6c71176 Support more pfd formatting 2015-10-25 03:28:29 +01:00
pancake
74ec59d624 Fix workaround for /R/ 2015-10-24 02:41:43 +02:00
pancake
f3ddfbb9ec Fixes for RRegex, Use r_regex_match(), comp+exec seems buggy 2015-10-24 02:06:45 +02:00
condret
6b9de1a741 implement r_str_replace_in (see #3544) 2015-10-23 19:32:54 +00:00
Álvaro Felipe Melchor
0028756c81 added name_filter to bin.prefix 2015-10-23 14:57:36 +02:00
pancake
888c05d31f Fix some recent covs 2015-10-23 12:07:07 +02:00
pancake
016fff515a Fix and optimize f-* issue 2015-10-23 00:25:13 +02:00
pancake
dcbddab6e3 Initial support for pfd and better pf autocompletion 2015-10-22 17:19:33 +02:00
pancake
3de77ad6e6 Initial support of dbg.libs/unlibs for Linux/OSX 2015-10-22 04:48:56 +02:00
condret
7d7024b2c6 initial commit for gameboy-assembler 2015-10-21 18:22:14 +00:00
condret
ddba3a446b add new colors-configs for new optype 2015-10-21 11:04:55 +00:00
pancake
45c7c923af Better dtc, demangling support. Handle RABIN2_LANG, and more c++ autodetect
* r_name_filter(len:-1) strlens the string
* Show symbol names in `dtc` (calltracer)
2015-10-19 13:21:12 +02:00
pancake
1b5cd887ce Disobey rabin2 -B if bin is not pie, enhace dmm* and mach0 2015-10-19 02:41:21 +02:00
pancake
6ed80ae39b Update sdb and rename rmkdir->mkdirp 2015-10-19 00:25:39 +02:00
pancake
b111057798 Fix #3505 - analyze cmovs a bit 2015-10-18 22:14:06 +02:00
condret
7c5deb4a4d roundkey calculation for des 2015-10-18 02:02:58 +00:00
seu
b3de57697c broken DES impl. 2015-10-18 01:44:41 +00:00
jvoisin
420a5c41e0 Fix some minor compilation warnings 2015-10-15 12:36:34 +02:00
Álvaro Felipe Melchor
d9fb954dec Added string in drr and pxr 2015-10-06 18:23:27 +02:00
Riccardo Schirone
d977002628 util/graph: remove edge only when it exists 2015-10-05 09:23:55 +02:00
Riccardo Schirone
9fc6dc6d7d core/cmd_anal: add commands to remove nodes/edges from core->graph 2015-10-03 12:42:40 +02:00
pancake
24e2bed757 Fix #2228 DESU DESU DESU DESU DESU DESU 2015-10-01 21:04:38 +02:00
Álvaro Felipe Melchor
3423bedc1d Fix covs 2015-10-01 18:36:46 +02:00
Álvaro Felipe Melchor
ac965a56c0 Fix #3359 2015-10-01 11:01:55 +02:00
pancake
5ecd98305e Add support for MBN/SBL roms, fix 11acb8392, binsect->has_strings 2015-09-29 00:42:31 +02:00
pancake
ec5bab3692 Fix another bug in strbuf 2015-09-28 03:20:53 +02:00
pancake
bccdb8d347 Fix memleak and null-terminated string bug in drr/pxr 2015-09-28 03:07:34 +02:00
pancake
bff8c1d264 Fix some possible null-deref and merge drr/pxr internals 2015-09-28 02:28:20 +02:00
pancake
8f79f82048 Fix 0576be2359 2015-09-25 10:49:27 +02:00
jvoisin
3abab8526b Fix some possible NULL-deref under memory-pressure 2015-09-25 02:13:58 +02:00
jvoisin
0576be2359 Small optimizations and coverity-- 2015-09-25 01:51:29 +02:00
pancake
9232abe9e4 Fix iOS build 2015-09-24 18:35:35 +02:00
Jeffrey Crowell
79c40740d9 treat 0 as length 0 -1 as strlen in base64 2015-09-18 12:38:57 -04:00
Jeffrey Crowell
7d51fe7455 fix offbyone in base64.
base64encode("hello") should not include the null terminator
2015-09-18 10:04:46 -04:00
pancake
1bf2d47f00 Fix last COVs 2015-09-12 19:12:57 +02:00
pancake
245bd77a40 Fix #3264 - Colorize floating point numbers in disasm 2015-09-10 22:49:05 +02:00
pancake
783d31bf5a Find strings in esil and support thumb aap 2015-09-10 04:20:09 +02:00
pancake
0d3c5583ba Fix #3202 - Use / and \ as separators for rmkdir 2015-09-07 03:05:56 +02:00
Álvaro Felipe Melchor
1d4ebdeb25 some refactoring & added threads field in RDebug 2015-09-01 18:45:08 +02:00
pancake
d381055304 Fix pxd 2015-09-01 00:57:07 +02:00
dequis
773b9b85b3 r_lib_close: close all the plugins when freeing, not just the first
This fixes a leak when there's more than one plugin.
2015-08-30 23:20:51 +02:00
Kevin Grandemange
71c4245df7 add clearenv in rarun2 and update documentation
fix unsetenv wrong description
add some example for environment variable
fix r2 use of rarun2 example

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2015-08-29 19:22:15 +02:00
jvoisin
4261075d60 Misc fixes to make clang-analyser even more happy 2015-08-29 18:08:38 +02:00
Maijin
6831dd2f6d Revert "More misc cleanup"
This reverts commit 788a3b02c7.

	modifié :         libr/bin/format/pe/pe.c
2015-08-28 20:58:21 +02:00
jvoisin
788a3b02c7 More misc cleanup 2015-08-28 19:13:27 +02:00
Jeffrey Crowell
125ec963c5 files shouldn't have to exist to get realpath 2015-08-27 22:19:57 -04:00
Jeffrey Crowell
13d5964f77 make abspath work on ~/ directory 2015-08-27 16:43:06 -04:00
Jeffrey Crowell
740df3c946 make file.path use abspath when available 2015-08-27 16:05:22 -04:00
Riccardo Schirone
af20357c2a util/str: fix order of mrwx permissions/flags 2015-08-26 15:25:32 +02:00
Riccardo Schirone
eeef82c2b8 bin: use R_BIN_SCN_MAP flag when a section should be mapped by IO
- io/section: filter sections by looking at R_IO_MAP flag
- util/str: consider (m)apped flag when printing/parsing srwx info
2015-08-26 14:12:46 +02:00
pancake
f776f5a515 Implement RReg API for long double and packed registers 2015-08-23 03:58:49 +02:00
shuall
0807686d86 #3052 all printf member functions changed to cb_printf 2015-08-09 03:25:05 +02:00
XVilka
e09682141e Run fork() on Cygwin 2015-08-04 21:14:11 +03:00
Riccardo Schirone
5adf6b4043 util/str: add r_str_ansi_crop function and tests 2015-07-30 01:05:31 +02:00
Riccardo Schirone
46ffc1346f util/str: add some comments and fix r_str_ansi_chop
util/str: fix r_str_ansi_filter
2015-07-29 21:33:42 +02:00
Riccardo Schirone
a35ee280ce util/t: add some r_str_* tests 2015-07-29 20:53:11 +02:00
Skia
b958261fb1 pf: Re-re-fix #1612 2015-07-28 18:28:41 +02:00
Skia
7353b5f594 pf: Fix #3013 2015-07-28 16:38:42 +02:00
yetmorecode
e55728a218 Re-fix #2987 - further fix for file handle leak on windows 2015-07-25 02:22:22 +02:00
Álvaro Felipe Melchor
7dec5d289d Fix two double frees in agn command 2015-07-25 01:26:58 +02:00
Skia
c8ba1fa33c pf: Re-fix #1612 2015-07-25 01:23:38 +02:00
Skia
11c5e1e717 pf: Fix #1612 2015-07-23 19:37:58 +02:00
Skia
e1a61b6428 pf: Fix #2993 2015-07-23 19:37:58 +02:00
Skia
1541477ae9 Add support for registers in pf and fix pfv 2015-07-23 14:37:37 +02:00
pancake
1b4ef742e1 Fix #2987 - apply @yetmorecode to fix fd leak on Windows 2015-07-23 00:56:22 +02:00
Jeffrey Crowell
c5a03b3fea fix string searching on cygwin 2015-07-22 13:51:42 -04:00
pancake
37ee858970 Add @e: for temporary eval var changes 2015-07-15 02:16:28 +02:00
David Kreuter
fecb914de8 CID 1216466 Dereference before null check /libr/bin/p/bin_dex.c 2015-07-15 00:39:07 +02:00
David Kreuter
c843e22843 CID 1229476 Unintended sign extension /libr/util/p_format.c 2015-07-15 00:39:07 +02:00
jvoisin
aa695bc808 Fix misc compilation warnings on Windows 2015-07-14 13:55:58 +02:00
Riccardo Schirone
6c6e9f5f3c util/graph: RGraphEdgeCallback now accepts a RGraphEdge 2015-07-13 20:33:52 +02:00
Riccardo Schirone
5d66b7510b util/list: add r_list_insert to insert element in a specified position 2015-07-13 20:33:52 +02:00
Riccardo Schirone
3d29108225 core/graph: add r_agraph_print 2015-07-13 13:48:31 +02:00
pancake
bdfbc4f076 Fix several COVs, and build issues related to appveyour 2015-07-13 11:21:21 +02:00
Jonathan Neuschäfer
ecf6792318 Fix #2927 and random code cleanups
- asm_dcpu16: remove an obsolete comment
  It was obsoleted in 5285d1bdea.
- Indentation fixes
- fix a few typos
- remove "#define NEW_ESIL"
- move comment about r_bin_filter_name to the right place
- README.md: Add V810 to the list of supported architectures
- Also, de-duplicate LH5801
- Add attribution to randomart.c, fixes #2927
2015-07-12 19:20:36 +02:00
Jonathan Neuschäfer
523aa3af5c add .version to all plugins 2015-07-12 19:05:33 +02:00
jvoisin
38d79c727d Some coverifix 2015-07-08 22:52:24 +02:00
pancake
05c8e5c198 Fix null deref in fatmach0's rabin2 -x 2015-07-08 19:13:30 +02:00
pancake
a870a9f788 Refix for #2889 - that was nasty 2015-07-08 18:33:29 +02:00
pancake
61eb7d3abe Fix #2889 - Fix use after free in rnum 2015-07-08 14:55:52 +02:00
pancake
41d12ff98b Fix #2880 - Fix crash in rapatch (r2 -P) 2015-07-08 14:21:43 +02:00
Riccardo Schirone
316a529a80 core/graph: fix a regression where dots are printed out of node 2015-07-07 00:54:38 +02:00
Á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
pancake
2c62eab3c8 Fix ASLR baddr while fixing r_file_abspath() on UNIX using abspath() 2015-05-19 15:35:08 +02:00
emvivre
0eab267449 Fix an issue with pf Z 2015-05-18 10:47:33 +02:00
Judge_Dredd
fa57bfed27 fix CID 1297227, 1297226 2015-05-09 10:40:45 +02:00
dequis
7ce8856708 pf: fix offset/size handling of 'X' (hexpairs) type 2015-05-07 12:20:01 +02:00
pancake
0ab39f5c22 Add help for /x? and fix hexpair parsing with binmask 2015-05-07 00:46:41 +02:00
pancake
8f82e674a2 Lot of enhacements for Thumb-ESIL decode and emulation
* Added [*] and =[*] esil opcodes

Conflicts:
	libr/anal/p/anal_arm_cs.c
	libr/parse/p/parse_arm_pseudo.c
2015-05-06 02:33:48 +02:00
Skia
1b99f7126e pf: add uleb128 support 2015-05-04 10:03:58 +02:00
Skia
5633b61bc7 pf: Fix time format to GMT (not local anymore) 2015-05-04 09:52:38 +02:00
dequis
08ff4e493a Always use ut32 for unix timestamps. Also handle endianness properly
Because it turns out sizeof(time_t) is 8 in 64 bit platforms, but that
results in really broken 'pt' results, where half of the lines are
'invalid date'

Also, endianness handling was swapped in the case of 'pt' and
non-existent in the case of 'rax2 -t' (the latter actually did a weird
hack to swap endianness twice and get valid results).

Now rax2 -t supports the -e parameter to swap endianness.

The usage of r_mem_copyendian with r_print now matches what's done
in other places, with !p->big_endian instead of p->big_endian,
because 0 means swap and 1 means do nothing. Terrible function.

This also fixes some valgrind warnings about uninitialized values
(when copying 4 bytes to a 8 byte time_t)
2015-05-01 10:28:23 +02:00
pancake
a45981cb14 Fix int/double infinity constant issue in util/regex 2015-04-29 11:31:49 +02:00
Skia
e5d5a688dd Add variable length array in pf
Still doesn't work with flags
2015-04-27 09:36:32 +02:00
Skia
27b16c5636 Small pf change 2015-04-27 09:36:27 +02:00
Skia
387d177da7 Fix pf:
* JSON output works for more cases
	* Access to specific element in structure or array doesn't display garbages
any more
2015-04-26 22:41:29 +02:00
Skia
19f5cbd14b Fix #2411 2015-04-24 01:05:49 +02:00
Judge Dredd (key 6E23685A)
e1ae15b2b2 properly chop utf-8 lines 2015-04-22 11:12:19 +02:00
pancake
e137183f1d More rebranding for the android app 2015-04-22 04:50:37 +02:00
pancake
63f0dc8e3f Implement more utf8 terminal check, handle jbe in asm.pseudo 2015-04-20 15:27:05 +02:00
David Kreuter
fd63308d11 libr/util/p_format.c: fix fieldname memleak in r_print_format 2015-04-17 16:51:20 +02:00
pancake
2096e855ba Fix gs0 crash 2015-04-16 17:49:17 +02:00
Judge_Dredd
0ce2c0033c cons less chop lines to terminal width 2015-04-12 16:12:02 +02:00
pancake
4bfd019175 Fix other bugs in strpool 2015-04-12 01:12:54 +02:00
pancake
48dedef883 Fix #2355 - stringpool must honor length in realloc 2015-04-12 01:11:57 +02:00
pancake
75caca7ebe Fix w32 build 2015-04-11 20:54:31 +02:00
pancake
882a0ee164 Add --without-fork and r_sys_fork() 2015-04-11 05:00:05 +02:00
pancake
6ab06a15ba Various fixes for DEX and Dalvik support 2015-04-11 04:33:37 +02:00
Anton Kochkov
393942e18b Fix more leaking holes 2015-04-11 02:31:34 +03:00
Anton Kochkov
90fa036170 Coverity fixes 2015-04-11 01:42:30 +03:00
Álvaro Felipe Melchor
02755c1d39 Fix segfaults 2015-04-09 00:37:38 +02:00
Anton Kochkov
679a1d2531 Replace strtoull() to _strtoui64() for MinGW 2015-04-05 02:12:41 +03:00
Anton Kochkov
44aac91430 Fix MinGW build 2015-04-05 01:26:06 +03:00
Anton Kochkov
5782d67884 Fix threads on the MinGW/Cygwin 2015-04-05 01:19:28 +03:00
Anton Kochkov
e205d0da03 Do not include unistd.h for MinGW32 2015-04-05 01:09:13 +03:00
Anton Kochkov
0c9d3a9a29 Various Cygwin/MinGW fixes 2015-04-05 00:56:56 +03:00
pancake
a378082ca7 Avoid using GNU's gmt_offset 2015-04-04 02:11:08 +02:00
pancake
3b4773d602 Add time.zone and time.fmt eval vars, honor zone in pt and correct PE gmt 2015-04-03 23:24:09 +02:00
pancake
f8cea04fb0 Fix V_isual HUD in sandbox mode 2015-04-03 04:45:38 +02:00
pancake
87162dc8bf Add wta support for appending dump. 2015-04-03 04:11:26 +02:00
pancake
4e136fb32f Fix #2289 - division ignored in some rnum calc ops 2015-04-03 03:25:30 +02:00
pancake
efc7ebff17 Add prgi and prgo commands to get consumed and generated bytes at gunzip 2015-04-03 03:20:04 +02:00
pancake
8d89d9af2c Fix crash in ag, memleak in iI and nullderef in hexdump 2015-04-02 20:22:24 +02:00
pancake
e20da8826c Fix #2288 - Infinite prg decompression issue 2015-04-02 01:46:25 +02:00
pancake
68c98b2b05 Remove debug printf, fix crash in rabin2 -qzz 2015-04-01 20:56:12 +02:00
pancake
14aa79eac9 Better disasm+code analysis for Dalvik 2015-03-24 00:08:48 +01:00
pancake
261a4d2faa Fix #2174 - Crash in V!! 2015-03-23 01:28:32 +01:00
pancake
2361d43034 Fix oob read crash in prl 2015-03-23 01:09:35 +01:00
pancake
ebbe450f38 Fix r2 -c 'o-*;s++' - use-after-free and other from #2220 2015-03-23 00:32:31 +01:00
pancake
ef6c71208d Fix tons of input crashes reported in #2220 2015-03-22 23:24:13 +01:00
pancake
b14bfc0be2 Fix #2185 - r2 -d shm://123 crash 2015-03-22 22:41:46 +01:00
pancake
063fca1224 Fix #2222 - Fully disable r_sandbox_create in sandbox mode 2015-03-22 16:35:02 +01:00
pancake
515b2e77bc Fix about 40 COVs related to memleaks and buffer overflows 2015-03-21 01:27:54 +01:00
fenugrec
a0e354a8de Fixed some error checking + return values for r_buf_cpy() 2015-03-18 22:10:55 +01:00
fenugrec
cafcf4b0ab WIP: ihex:// plugin rework for sparse buffers & extended records 2015-03-18 22:10:54 +01:00
pancake
597f4f595b Refix android-x86 build 2015-03-18 00:59:26 +01:00
pancake
595db83d93 Add RBufferSparse API and sparse:// io plugin 2015-03-16 01:19:25 +01:00
pancake
f53cb526cd Add r_str_utf16_encode and use it in isj 2015-03-14 03:47:34 +01:00
pancake
ea7387ab72 Add 'sync-regex' command to sync libr/util/regex with OpenBSD
- Requires some manual review because there are interesting changes
  that must be checked properly. Also, OpenBSD has been notified
  about this issue, and we should update as soon as they get it
  done in master.

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778402

- In addition, Coverity reported 3 issues that must be addressed in
  OpenBSD/CVS before merge

    https://gist.github.com/crowell/6812b899164bdeed3027
2015-03-11 17:57:52 +01:00
pancake
0040f8cb44 JSONify PDB and remove useless function in r_util 2015-03-08 17:30:41 +01:00
Skia
acce30fc92 Fix pf warning 2015-03-05 23:57:32 +01:00
pancake
0d7ab6f7f0 More goodies for the V2 panels, fixes in r_str_chop 2015-03-05 23:07:39 +01:00
Skia
0e659f03dd Fix accessing specific array element in pf (#1636) 2015-03-03 01:58:55 +01:00
Skia
2662e64374 Improve byte readability in pf (#2137) 2015-03-03 01:58:54 +01:00
Skia
de0bff95c0 Add union flags 2015-03-03 01:58:54 +01:00
Skia
343af54610 Fix pf
thx pancake for breaking it there d8f96a765d ;D
2015-03-03 01:58:54 +01:00
jvoisin
600c6cfaf2 Coverifix 2015-02-28 14:32:39 +01:00
pancake
6a85593edc Fix cov in arg_escape (missing break) 2015-02-27 13:39:37 +01:00
Clément Vuchener
705e4d56bf Fixing arguments (bugs #1814 and #2117) #2143
Added proper escaping of command line
Creating a command line from arguments when debugging on Windows
Keep backslashes when not escaping a character
Assuming that the path of the binary should be in desc->name and not the command line in ptrace IO plugin
Print the backslash when it is at the end of the command line
2015-02-26 03:05:37 +01:00
pancake
274bdce6c9 Enhace r-num-units() and show size of dm maps 2015-02-23 10:39:56 +01:00
pancake
ad80aba942 Initial support for debugger memory snapshots dms. Enhace hexdiffing
- Fix linux debugger
- ccc shows hexdiffing, but only the ones that differ
2015-02-23 03:29:40 +01:00
pancake
d8f96a765d Fix android build and bin/d installation issue 2015-02-23 01:55:35 +01:00
Kamil Rytarowski
345403f0ea Honor zip configure linkage 2015-02-23 01:07:05 +01:00
Clément Vuchener
5466d221db Fixing r_sys_pid_to_path on recent versions of Windows 2015-02-22 17:07:10 +01:00
pancake
4f15b376ed Use YYYY-MM-DD format for pt 2015-02-22 00:07:06 +01:00
pancake
90b47a9f20 Drop max file size to make rabin2 -zzz happy 2015-02-20 00:58:12 +01:00
pancake
e9a3fd96d2 Add prx command -hiew-like- 2015-02-19 12:29:57 +01:00
jvoisin
a61ea4e70a Coverifix++ 2015-02-19 01:53:11 +01:00
jvoisin
7a1975bd06 Add some comments for graphs + coverifix 2015-02-17 17:03:16 +01:00
jvoisin
a193e54eac Coverifix 2015-02-17 00:34:51 +01:00
pancake
33ba03e9c0 Implement pxh and pxH. Honor endian and value size in pxq/Q 2015-02-16 02:45:12 +01:00
pancake
4c58ac2416 Initial implementation of p3 the 3D stereogram print mode 2015-02-14 04:17:34 +01:00
pancake
ebf85b56cb Initial implementation of Pn command for project notes 2015-02-10 02:13:53 +01:00
pancake
416873216c Fix symbol override and memleak in pf 2015-02-09 10:06:17 +01:00
pancake
e0d7e3271d izj strings encoded in base64 instead of uri-encode
URI encoded is not designed to handle binary data, and some implementations
verify that the resulting string is an uri or not. So it may fail if it
contains : or / chars.
2015-02-09 01:17:42 +01:00
Skia
efdefb2299 pf - Complete issue #1636: accessing specific elem in an array 2015-02-08 17:40:09 +01:00
Skia
317a173d47 pf - Complete issue #1636: accessing specific elem in an array 2015-02-08 00:22:17 +01:00
pancake
33fcd7fbcf Enhacements for DEX sections and ignore methods at 0 (wip) 2015-02-06 18:53:11 +01:00
pancake
383e225135 Fixes on top of the clang-warn-fix commit 2015-02-05 10:57:28 +01:00
Jeffrey Crowell
bf943e8729 coverifix 2015-02-05 00:29:59 -05:00
Skia
06a57bddc4 Improve pf display 2015-02-05 02:30:20 +01:00
Skia
cf5057a229 pf: Implement unions 2015-02-05 02:30:20 +01:00
pancake
33a84eb96a Add pD? and some x86.cs refactoring 2015-02-03 17:02:34 +01:00
pancake
73f8788fdb Fix /R/ valgrind warnings with x86.udis 2015-02-03 16:25:25 +01:00
jvoisin
1facea2766 Fix two minor warnings 2015-02-03 15:53:51 +01:00
Skia
c78b0968d6 Refactor pf. Function is now more clear and readable 2015-02-03 11:50:45 +01:00
Skia
92b205d3ac Fix #1342: add escaping char feature in pf 2015-02-01 02:59:14 +01:00