Commit graph

298 commits

Author SHA1 Message Date
pancake
f5a73b73d7 Remove dupped hex2int function 2016-07-27 12:51:55 +02:00
Álvaro Felipe Melchor
3c8066ce57 fix crash in nz assembler 2016-07-26 22:08:25 +02:00
Álvaro Felipe Melchor
01fe87d467 fix coverity and some coding style 2016-07-21 22:56:58 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
Álvaro Felipe Melchor
34fae270dd added free function into RHashTable (#5249) 2016-07-02 11:50:30 +02:00
megabug
534cc69a79 Fix trimbits (#5120) 2016-06-11 12:09:39 +02:00
Jeffrey Crowell
412f81590c note a caveat in r_str_ichr 2016-06-10 03:11:26 +00:00
Jeffrey Crowell
ef59d3aa7f make a note of TODO in str.c 2016-06-10 02:17:31 +00:00
Jeffrey Crowell
50417301a9 fix description of r_str_word_set0 2016-06-09 23:47:41 +00:00
Jeffrey Crowell
4cd58acaca comment more string functions, kill some duplicated functions. 2016-06-09 23:43:46 +00:00
Jeffrey Crowell
1b1578e25e fix accidental commit that broke hex2int 2016-06-09 18:40:52 +00:00
Jeffrey Crowell
98d258339a more r_util comments 2016-06-09 18:16:47 +00:00
Jeffrey Crowell
b4c39b5b35 begin adding some documentation to r_str functions
r_util needs some documentation if it is to be unit tested.
2016-06-09 17:42:27 +00:00
Jeffrey Crowell
4d5630ed30 make r_str_replace_char_once actually do only once 2016-06-09 00:11:59 -04:00
Jeffrey Crowell
a25ef5b3bb remove duplicate char counting functions in r_util 2016-06-08 16:40:44 +00:00
pancake
10bbfc7d22 Trim strbits by block 2016-06-08 11:51:52 +02:00
Jeffrey Crowell
a1bdabf787 fix offbyone in r_str_bits64
manifested in odd numbers having leading 1
2016-06-08 01:48:43 -04:00
Jeffrey Crowell
0e688df308 style fixup for str.c r_util.h 2016-06-08 01:39:07 -04:00
Jeffrey Crowell
f92b37956a fix eval command truncating binary to 8 bits
closes #4975

add new function r_str_bits64 to convert any number to a 64bit binary
value.
2016-06-08 01:31:55 -04:00
oblique
f06e11b6f4 Fix warnings (#5078)
* Fix gcc warnings

* Fix strtoull return
2016-06-06 00:33:11 +02:00
oblique
be4b061eda r_str_ansi_crop: Reset color on new line (#5048)
Fixes #5036
2016-05-31 11:50:12 +02:00
NikolaiHampton
2c50dd0c59 Memory efficient implemenation of Levenshtein Distance for radiff2 (add -V)
Implemented the iterative two matrix row version from here: https://en.wikipedia.org/wiki/Levenshtein_distance
and here: http://www.codeproject.com/Articles/13525/Fast-memory-efficient-Levenshtein-algorithm

Memory usage was originally 200Gig for a couple of 100K files ~(sizeA*sizeB), now about ~(sizeB*2)...
2016-05-26 11:03:01 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
pancake
c36b299073 Fix some null deref and rarun2 chroot escape vuln 2016-05-24 12:32:45 +02:00
pancake
1aff4b141d Fix #4959 - Fix linewrap in Vv 2016-05-20 17:11:29 +02:00
Andrey Torsunov
99832fca3d Fix path escaping. Issue #4660. (#4709) 2016-04-25 15:18:58 +02:00
pancake
354b9efbf2 Add ?E clippy echo and use it in ???? 2016-03-30 12:44:56 +02:00
Adr1
ab5792d132 RBin: improving versioninfo
Store ELF versioninfo in Sdb.
Display VS_FIXEDFILEINFO for PE.
2016-03-16 18:10:49 +01:00
Adr1
611c3d1752 RBin: Display File Version info 2016-03-04 01:15:56 +01:00
pancake
7a1993b057 Fix str_case regression 2016-03-03 11:45:04 +01:00
pancake
c545af6fbf Honour asm.ucase with asm.filter on filtered local vars 2016-02-25 22:36:26 +01:00
pancake
b5b548b1b3 Encode only non-printable chars 2016-02-23 00:00:55 +01:00
pancake
805e3f26e8 Fixes for lldb/debugserver on x86-64 2016-02-03 12:09:58 +01:00
jvoisin
3727f0794d Change the anti pattern if (A) free (A); for free (A); 2015-12-20 19:28:39 +01:00
François Revol
797a2efc81 C89
(duplicate ; is treated as an empty statement)
2015-12-07 21:48:44 +01:00
Riccardo Schirone
0407aab9c5 core/core: add afvn autocompletion
cons/dietline: add support for autocompletion in the middle of the
input, without destroying the other part of the string
2015-11-27 12:57:39 +01:00
Álvaro Felipe Melchor
d8b269f11f Fix last covs 2015-11-24 21:53:25 +01:00
pancake
653e09a0aa Fix #3746 - Handle immbase anal hint in all number bases 2015-11-23 23:04:49 +01:00
pancake
50f8ecaba4 Fix 2015-11-22 02:07:28 +01:00
pancake
88038a85ad Fix some RBinSymbol->name issues and drop null defs (-211LOC) 2015-11-22 01:09:02 +01:00
pancake
ba74db8e3a Initial implementation of CC, 2015-11-18 17:03:46 +01:00
Álvaro Felipe Melchor
a12cb54dfb Fix 361fef crash by revskills 2015-11-17 22:44:48 +01: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
Álvaro Felipe Melchor
b1583d5b24 Fix more issues reported by clang-analyzer 2015-11-03 22:14:00 +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
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