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
Skia
e713f16b28
Fix flags in pf
2015-01-29 02:59:19 +01:00
pancake
0cb78f973e
Fix #2004 - filter flag names in dm*
2015-01-29 02:25:00 +01:00
pancake
8dd161efc2
Fix fdleak when dup2 returns 0
2015-01-25 12:10:08 +01:00
jvoisin
16cac50319
Coverity++
2015-01-24 11:24:55 +01:00
pancake
d08015cf66
Add f--, fs-*, o--, enhace Po a lot
...
- Handle all internal information deinitialization in:
- flags, io, core, bin, anal
- Fix w32 build
2015-01-22 02:22:29 +01:00
pancake
ac036b6301
Add Pd to delete projects, Remove rmrf util function, better project file checks
2015-01-22 00:30:19 +01:00
pancake
d76d7c1163
Fix memleak related to r_list_join() responsabilities
2015-01-21 13:33:52 +01:00
pancake
4ecf2eea6d
Fix #1976 - Segfault related to use after free next to a r_list_join () in fcn.locals
2015-01-18 02:49:19 +01:00
pancake
b7c3ded3b9
Fix #1975 - Replace flags in ${} for ?e
2015-01-18 02:17:55 +01:00
Jeffrey Crowell
1fc3a177f6
Separate fortunes to fortunes.{fun,tips,nsfw}
...
add `e cfg.fortunetype = fun,tips,nsfw`
Add some "legacy" nsfw fortunes.
2015-01-15 10:43:09 +01:00
jvoisin
b91579d489
Ups, I forgot to add SAL in r_print_color_op_type
2015-01-15 01:37:39 +01:00
jvoisin
8ac1616daf
Fix some coverity issues
2015-01-14 02:53:34 +01:00
pancake
3b3fa3584f
Initial implementation of asm.reladdr
2015-01-12 00:11:06 +01:00
pancake
d713debdfc
Fix left and top border issues with canvas text (nicer graphs)
2015-01-11 02:28:59 +01:00
pancake
7e1ed0608a
Fix #1935 - Fix autocompletion on sandbox mode and enhace tab
2015-01-05 05:11:42 +01:00
pancake
d7fada10a2
Some work on bin.demangle
2015-01-02 02:10:20 +01:00
pancake
94bdaf75d9
Fix all pf warnings
2014-12-22 11:55:07 +01:00
pancake
c8458d3379
Fix build
2014-12-19 14:59:18 +01:00
pancake
af49b74b49
Fix #1866 - pf.a.b crash
2014-12-19 13:16:04 +01:00
Skia
58375097ae
Fix coverity pf leak by cleaning the function up
...
CID fixed:
1258915
1258912
1258911
2014-12-19 12:02:10 +01:00
Skia
4a8d7e6875
Refactor cmd_print_format into r_print_format
...
* Enable nested specific fields access for reading and writing
* Fix pf: json regression
2014-12-17 11:34:54 +01:00
pancake
31d1ec7349
Implement r_file_dirname and support DOS paths in r_file_basename too
2014-12-12 13:59:39 +01:00
Kamil Rytarowski
ac9af5531b
Enable backtrace(3) in NetBSD >=7.0
...
This patch was prepared with the assistance of the upstream.
2014-12-12 00:41:19 +01:00
pancake
a7fc3eedc3
Fix crash when passing NULL to RBufRead
2014-12-11 17:05:30 +01:00
pancake
4c49708cf3
Fix #1820 - Avoid SIGPIPE in r_sys_cmd_str_full
2014-12-11 13:39:53 +01:00
pancake
3a87cc61c3
Fix support for dwarf on currentpath source files
...
Catch file-not-found exception when listing source lines
2014-12-10 23:21:55 +01:00
pancake
a8dc744f48
Fix #1811 - Corrupt ELF header crashes r2 - reported by @crowell
2014-12-09 04:19:16 +01:00
Kamil Rytarowski
aadbd0f868
Fix GCC warnings: array subscript has type 'char'
...
Reported at NetBSD-current/amd64
GCC 4.8.4 (nb1 20141012)
2014-12-04 03:26:08 +00:00
pancake
18ef89dfa0
Fix lot of overflows in the dwarf parser
2014-12-04 01:28:29 +01:00
pancake
3a31198ffd
Fix #1702 - Revert and fix the dwarf/dex crashes related to uleb overflows
2014-12-01 23:44:20 +01:00
pancake
12f598d77d
Fix crash in pfj
2014-12-01 23:30:32 +01:00
pancake
adce73673f
Fix two ASAN crashes for pf
2014-11-26 01:03:48 +01:00
pancake
5e236429c7
Implement ^Z in RCons for prompt and visual modes (unix only)
2014-11-19 22:25:17 +01:00
pancake
41b6f99ec1
Revert "Fix several crashes in dalvik. Thanks nightmare!"
...
This reverts commit f6440fc526 .
Conflicts:
libr/bin/dwarf.c
libr/bin/p/bin_dex.c
2014-11-19 12:14:23 +01:00
pancake
acf25245d9
Fix latest CIDs
2014-11-19 10:54:08 +01:00
pancake
ff72e9f0b8
Fix an overflow in r_buf_read
2014-11-19 01:08:46 +01:00
pancake
1f685fc8df
Fix #1699 - Double free with aa
2014-11-18 23:00:13 +01:00
pancake
b7e1dc4354
Fix #1698 - dr rflags=cpz is now supported
2014-11-18 17:22:43 +01:00
pancake
50d1e8daa4
Fix build
2014-11-18 16:44:27 +01:00
pancake
e1e46a8b22
Fix crash in RCore.Plugin liberator
2014-11-18 16:35:54 +01:00
Jeffrey Crowell
0dd1071033
fix crash in rasm2 'add eax, /'
2014-11-18 11:46:14 +01:00
pancake
a6c1582e1a
Revert dac7dbdc89
2014-11-17 16:29:31 +01:00
Julien Nabet
e20728ec15
cppcheck: fix 1 'else if' cond matches previous cond + test indice before using it
2014-11-16 18:13:06 +01:00
pancake
dac7dbdc89
rbufread is now more strict
2014-11-10 04:15:28 +01:00
pancake
587642619b
Re-enable ranal2 build
2014-11-10 03:55:44 +01:00
pancake
278e63f10f
Properly test RBuffer boundaries in r_buf_read_at()
2014-11-10 02:18:44 +01:00
pancake
9f570a927b
Fix overrun in r_buf api
2014-11-10 02:08:32 +01:00
Skia
36cd87a6e1
Fix issue #1651
2014-11-10 01:55:09 +01:00
pancake
81f1fd41b7
Fix coverity issues
2014-11-09 18:29:24 +01:00
pancake
40f202c7ee
Fix issue bad string filtering in PDB symbol names
2014-11-09 18:11:03 +01:00
pancake
ccffbeb9c8
Fix #1567 - Show error when trying to divide by zero
2014-11-07 12:16:29 +01:00
pancake
b40bce8284
Fix all latest Coverity issues
2014-11-07 10:52:44 +01:00
pancake
e530a902e5
Rollback a reggression in 'pi'
2014-11-07 05:16:33 +01:00
pancake
ff324cb682
Honor asm.filter in VV graph and 'pi' command. Maybe we need another command to avoid breaking tests?
2014-11-07 04:27:57 +01:00
pancake
87273cf144
Initial commit enhacing disasm with aop.ref and aop.refptr (x86.udis only atm)
2014-11-07 00:41:29 +01:00
pancake
619e443e7e
Update for iOS 8.1 SDK
2014-11-06 11:57:51 +01:00
d0p
5bdbfd240a
Fix compilation error on OS X 10.7.5 (undef symbol)
...
Shared libraries and bundles don't have direct access to environ. Use
the _NSGetEnviron() routine to retrieve the address of environ at
runtime. See "PROGRAMMING" section of ENVIRON(7).
2014-11-05 16:16:27 +01:00
pancake
b158a7a63b
Fix rabin2 -z regression
2014-11-05 09:46:11 +01:00
pancake
dd131e15d0
Fix stack exhaustion bug in Java class parser
2014-11-05 01:31:33 +01:00
pancake
561555a595
Fix r_str_nlen for trashed symbols
2014-11-05 00:32:55 +01:00
pancake
f6440fc526
Fix several crashes in dalvik. Thanks nightmare!
2014-11-05 00:15:40 +01:00
pancake
cab0c6ae49
Fix crash in r_utf8_decode
2014-11-04 23:17:52 +01:00
pancake
4790375679
Random enhacements for RHex apis and relocs
2014-11-04 02:16:40 +01:00
pancake
8042a54077
Fix crash in access to freed memory
2014-11-03 13:36:58 +01:00
pancake
dcfb90ae94
Wip Fix r2 -d oo (workaround, because it's a race condition in fork+pid2path)
2014-11-03 11:47:51 +01:00
pancake
a9eb8da77b
Fix overflow in r_asm_disassemble() and implement rip-relative refs in anal.x86.cs
2014-11-03 03:27:22 +01:00
pancake
6555402bf5
Fix warning
2014-11-01 22:12:05 +01:00
Skia
9964f3e7fa
Finish pfs
2014-11-01 22:11:12 +01:00
Skia
21e40d9a73
Fix CID 1250448
2014-11-01 22:11:12 +01:00
Skia
8c19b32810
Revert "Simplify code to fix COV 1250448"
...
This reverts commit d49373bcb3 .
2014-11-01 22:11:12 +01:00
pancake
d49373bcb3
Simplify code to fix COV 1250448
2014-11-01 10:35:30 +01:00
pancake
8e29c0ef9d
Initial implementation of the & command. Bump capstone
2014-11-01 04:46:33 +01:00
Skia
897cdcd45c
Add pfs to print struct size
2014-11-01 04:23:51 +01:00
Skia
367aaa878b
Improve linked list display in pf
2014-11-01 04:23:51 +01:00
Skia
4c70e1aa65
Fix pf
2014-11-01 04:23:51 +01:00
Skia
f7929e1801
Add timestamp support in pf
2014-10-31 02:52:45 +01:00
Skia
b94c28b34a
Fix nested struct output
2014-10-31 02:52:45 +01:00
pancake
acc0ec8263
Fix #1587 - pcJ shows dirty stuff (base64 encoded not null terminated)
2014-10-30 15:52:01 +01:00
pancake
e8140ab8bf
Add r_buf_seek()
2014-10-29 22:53:51 +01:00
pancake
92b167bbdd
Add r_buf_read/write methods using CUR, fix some more warnings
2014-10-29 22:12:16 +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
8aa76e644c
Add some more safety checks for RBuffer
2014-10-28 18:18:30 +01:00
Skia
e64f0458d3
Fix json output for enum, bitfield, char and byte
2014-10-28 09:59:47 +01:00
pancake
ff03dfdadc
Initial implementation of 'pxr'
2014-10-27 17:23:13 +01:00
Skia
231064047c
Improve enum and bitfield names in pf
...
Remove the use of null char for non printable chars
English fix
2014-10-26 23:55:49 +01:00
Skia
d54abd6739
Colorize the pf help
2014-10-26 23:52:56 +01:00
jvoisin
a60d82b800
Fix a lot of warnings for GCC
...
Less than 20 warnings remaining on my x86_64 GCC 4.9.1
2014-10-26 13:50:58 +01:00
Skia
cd4d25f92b
Make json online
2014-10-26 02:18:13 +01:00
Skia
509f9558f7
Fix #1523
2014-10-26 02:47:34 +02:00
Skia
dc8e1ba712
Make pfj (JSON output)
2014-10-26 02:47:34 +02:00
pancake
a2c3647ad0
Somewhat better BoostJam support
2014-10-26 02:47:08 +02:00
pancake
bf3c739d75
Fix crash for gdb:// to qemu-arm
...
- Fix some JamFiles
- Add config.getter callbacks
2014-10-26 01:30:17 +02:00
pancake
25927e0b60
Implement PEDA-like colors for addresses in pxw and pxq
...
- Uses 'ai' command to get address information
- We need to define new color palete entries for them
- We now have colors for: code, data, rodata, ascii, sequence
2014-10-24 21:31:46 +02:00
pancake
329bc84488
Add 'pfo' to open format description files
2014-10-21 11:49:33 +02:00
pancake
3a9a733ebf
Implement rax2 -F (r_stdin_slurp(), r_hex_from_c())
...
- Update rax2 manpage
2014-10-20 00:46:59 +02:00
pancake
79c5b24bfe
Fix pxw/pxq width for hex.cols=1
2014-10-19 12:18:40 +02:00
pancake
718e175892
Add $p for getpid(), hide UNKNOWN refs, 'cat' works with bigger chunk if unknown size
2014-10-18 00:25:55 +02:00
pancake
45a04948b7
Remove debug printf
2014-10-17 18:35:00 +02:00
pancake
da866539ee
Fix 'oo' bug (sync rcorefile and riofile lists), Better 'ob'
2014-10-17 00:04:52 +02:00
pancake
859daf9a5b
Add consonance and tango themes. Add asm.flaginbytes
...
* invalid instruction color is now configurable
* fixed SAR as unknown instruction issue
* Bring back dead code to render flags between the offset and opcode
* Fixes for the rasta and solarized themes
2014-10-16 01:51:48 +02:00