Commit graph

1324 commits

Author SHA1 Message Date
pancake
d001066eb4 Support longer wopD.. still not complete 2016-08-15 01:40:34 +02:00
pancake
2a5e49ee40 Fix b64 decode oob vuln ported from sdb 2016-08-15 01:03:22 +02:00
pancake
e1b94b8343 Update sdb to fix an overflow in the base64 decoder 2016-08-15 01:02:05 +02:00
pancake
deb05ed383 Honor cfg.bigendian in wopO for debrujn patterns 2016-08-14 23:49:13 +02:00
Álvaro Felipe Melchor
0bc983027f improve arm/thumb in elf file format and disasm 2016-08-07 17:38:34 +02:00
pancake
2f339144f4 Fix some latest covs 2016-08-05 13:25:20 +02:00
pancake
f47a328e32 Fix #5449 - Fix floating point computation 2016-08-04 19:45:36 +02:00
pancake
d075e86e24 Enhance float support in pf 2016-08-02 00:37:07 +02:00
reddevillg
e9821b8181 #5406 2016-08-01 23:40:50 +02:00
pancake
77f19155b4 Fix io.self dlsym for r_lib_dl_open 2016-07-30 14:15:29 +02:00
pancake
838e4d6fa2 Add dlsym, call, alarm and other goodies to self:// 2016-07-28 17:12:05 +02:00
Maijin
7938640445 Move all /t/ from r2 to r2r 2016-07-27 19:19:30 +02:00
Maijin
90530319d7 remove more util/t 2016-07-27 18:57:43 +02:00
Maijin
34dfdd6fdf remove more util/t 2016-07-27 18:05:25 +02:00
Maijin
3894935a06 remove more util/t 2016-07-27 17:18:45 +02:00
pancake
f5a73b73d7 Remove dupped hex2int function 2016-07-27 12:51:55 +02:00
Álvaro Felipe Melchor
8a0b1183c7 fix crashes in radiff 2016-07-26 22:34:00 +02:00
Álvaro Felipe Melchor
3c8066ce57 fix crash in nz assembler 2016-07-26 22:08:25 +02:00
pancake
102261ba37 Implement pidof:// URI handler in io.debug 2016-07-26 17:16:56 +02:00
pancake
9500455c87 Remove noisy error message 2016-07-26 00:33:28 +02:00
Maijin
22de895ef5 Rename CSR disasm/anal into XAP4 Fix #5355 2016-07-23 00:41:42 +02:00
Álvaro Felipe Melchor
01fe87d467 fix coverity and some coding style 2016-07-21 22:56:58 +02:00
Álvaro Felipe Melchor
8ad4d74316 fix off by one when diffing 2016-07-17 12:10:23 +02:00
NikolaiHampton
392dd94bf7 Optimisation of Levenshtein calc in radiff2 -s
- Optimised the distance calculation for radiff -s
- Fixed a bug in radiff.c that where verbose was always true.
- Added check that calloc() was successful.
- Shuffled code around to minimise use of free()
- Added some comments.

Speeds up the radiff2 statistical diff. Drastically reduced the ‘edit
distance search space’ by ignoring ranges that can’t affect the edit
distance. Improves search for similar files (common use case?), can
reduce the search space significantly:

One file tested went from two unknown versions of httpd, on MacBook has
a 28 hours processing time, down to ~13 minutes. Results will vary based
on file differences the more similar the files, the faster it'll run.
2016-07-17 12:10:20 +02:00
Maijin
103586110f Remove test_stack.c from r2 2016-07-12 22:37:25 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
Jeffrey Crowell
13f52c16f7 separate debruijn to it's own header file (#5318) 2016-07-09 11:58:30 -04:00
Álvaro Felipe Melchor
3bcca60853 Fix crash dwarf again 2016-07-08 23:16:24 +02:00
pancake
e971fd810e Implement dmh* and fix some indents in previous commit 2016-07-06 23:59:29 +02:00
pancake
f85536ac76 Add agC for full program callgraph
Fix afi indentation issues
2016-07-05 17:37:29 +02:00
Rakholiya Jenish
339a5b7b18 fix iZ and negative o for large files (#5242)
correct the add section check

keep commented part to it's original code

int to ut64

minor fix and limit buffer size in case file size cannot be allocted

remove section check

show size in readable format

minor changes
2016-07-05 12:46:28 +02:00
Álvaro Felipe Melchor
34fae270dd added free function into RHashTable (#5249) 2016-07-02 11:50:30 +02:00
def
6fba927804 Use UT32_MAX as a magic value 2016-07-01 13:07:21 +02:00
def
c671b1c02c Fix collisions in ht.c 2016-07-01 00:17:20 +02:00
Álvaro Felipe Melchor
1652fccab4 Fix crash due to ht.c implementation 2016-06-30 22:01:25 +02:00
pancake
6479943c46 More boolification and code cleanup -70LOC 2016-06-29 11:35:16 +02:00
pancake
e3f7749f56 Aim to fix the sdb_version race condition issue 2016-06-25 18:26:34 +02:00
Jeffrey Crowell
769bcf98f6 add RBitmap to the rapi (#5176) 2016-06-19 11:10:59 +02:00
Jeffrey Crowell
387c2ce479 fix SIGFPE when queue is created with size <=0 2016-06-18 21:33:00 -04:00
pancake
f96f00d62d Fix #5158 - Merge r_db into r_util 2016-06-17 12:19:16 +02:00
pancake
e9f14cb4a0 Fix 4b85cff331 util.calc regression 2016-06-14 03:22:43 +02:00
pancake
69d62e85c3 Fix deadcode in rbuf 2016-06-14 02:30:22 +02:00
pancake
46433dbf53 Fix some COVs in util/file 2016-06-14 02:22:14 +02:00
pancake
4b85cff331 Fix buffer overflow in r_num_math 2016-06-14 02:19:20 +02:00
Lukas Dresel
8f6c4716e0 Fixed 64bit enum support for structures where size was calculated incorrectly (#5122)
* Implemented 8 byte enumeration format size

Bug found with
po elf64
pf [4]? (elf_shdr)h

Notice how the name of the next section overlaps in address with the previous
section's entsize

* Adjusted coding style
2016-06-12 23:40:58 +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