Commit Graph

309 Commits

Author SHA1 Message Date
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
pancake
edb720d791 Add r_str_{starts|ends}with 2016-09-10 13:19:43 +02:00
Tiago Gasiba
f0a2d8657d Add support for conditional breakpoints running r2 commands 2016-09-01 19:11:46 +02:00
pancake
945d6690f9 Fix latest coverities 2016-09-01 12:39:32 +02:00
pancake
dc7d65c07a Extend arm64 regprofile for 16 and 8bit registers 2016-08-30 23:21:23 +02:00
pancake
0b32cf7c90 Fix recent regressions for DEX, fix entrypoints, {s,i}fields and lot of segfaults! 2016-08-28 13:19:04 +02:00
Rakholiya Jenish
c86010e702 pf indent fix and follow code standards (#5607) 2016-08-25 17:06:23 +02:00
Álvaro Felipe Melchor
7df4fc3ce4 Fix some coverities 2016-08-24 22:02:38 +02:00
Rakholiya Jenish
a461d53397 Implement stack based splitting of args
* stack based splitting of args
* fix r_str_rchr
2016-08-24 16:33:45 +02:00
Álvaro Felipe Melchor
34c6e3e1a1 Fix #5543 - oob write in Sr command (#5598) 2016-08-24 00:23:14 +02:00
Rakholiya Jenish
18cd2f5ec5 anon pf struct and add n/N
add anon nested struct help and fix tests

fix tests

minor changes

add support for unsigned and signed char, short, int and long long

add help

cleanup

minor fix
2016-08-22 11:25:52 +02:00
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