Commit Graph

32 Commits

Author SHA1 Message Date
David CARLIER
44cb24f1bf Using safe memory clearance for sensitive data. (#10337)
* Native one if possible or using memory barrier.
* Usage in few places at the moment.
* Attempt to fix OSx linkage issue, Meson linking to utils anyway
2018-06-13 16:38:08 +02:00
pancake
fe7ae5d0af Fix last 20 coverity issues 2018-03-19 11:51:04 +01:00
Farid AYOUJIL
2520fd4e73 Fix entropy for issue #9366 (#9510)
* Fix entropy for issue #9366

* Using 'r_str_newf' and adding spaces before '('
2018-02-26 12:42:15 +01:00
vertur
3a91bf0e97 Wide CRC hashes
* Avoid explicit size for CRC hash.
* Add more CRC8 hashing presets.
* Add more CRC16 hashing presets.
* Add more CRC32 hashing presets.
* Add CRC64 hashing presets (disabled).
* Regroup CRC presets and make they presence configurable. Disable CRC16 and enable CRC64 hashing.
* Prevent from bitset overflow. Enable all CRC hashes.
* Regroup CRC presets again. Enable all original and disable rare-used presets.
* Fix issue with mismatched bitset types.
2018-01-07 20:41:53 +01:00
Giovanni
e9a9ad5f43 Use stdout in rahash2 -h 2017-04-13 11:53:40 +02:00
Giovanni
2b6f6262fc Integrate crca in rahash2 and r2 2017-04-11 22:47:16 +02:00
radare
93e11e9d80 RHash cleanup 2017-03-01 09:02:28 +01:00
pancake
46e91531a3 Eliminate assert from sha2.c and r2-indent the whole libr/hash 2017-02-27 00:40:36 +01:00
Moritz Eckert
143d2c3791 Fix #4965. Add support for luhn searching and hashing. 2016-08-01 12:34:54 +02:00
pancake
2582e5fd0e Fix #5134 - rahash2 -K entropy was randomized by uninitalized values 2016-06-14 20:29:49 +02:00
pancake
d9cdd29268 Fix endian issue in crc16 and crc32 2016-05-16 02:08:59 +02:00
Riccardo Schirone
d9e3a290c1 libr: fix compilation warnings
libr/util/graph: add some comments to the API
2016-05-13 09:57:55 +02:00
Damien Zammit
9cb03bab32 Cleanup endianness in crc32 and xxhash 2016-05-09 08:56:48 +02:00
pancake
f6927fa4f7 Fixes for 0 length hashes 2015-10-18 17:08:23 +02:00
Álvaro Felipe Melchor
b81cb74923 Fix rabin2 test 2015-10-18 16:52:36 +02:00
pancake
888405e50f Various bug fixes in RHash api 2015-10-17 12:18:55 +02:00
pancake
13872af7bc Implement rabin2 -K and do some work on the RHash api. Fixes #1204 2014-08-15 03:30:45 +02:00
jvoisin
fdeef9c07f Fix CID 1195075 2014-05-07 13:24:59 +02:00
pancake
f48b810989 Fix #552 - Segfault with negative rahash2 -i 2014-01-18 02:06:56 +01:00
pancake
dd301cd6a7 Add adler32 checksum, fixes in dex, add 'ws' command
- Handle ^C in searches
- Safer progerssbar for small terminals
- Add 'ws' command to write pascal/dalvik/java strings
- Fix visual refresh on terminal resize
- Partially fix dex negative section issue
2013-04-05 01:53:21 +02:00
pancake
359c1f7225 Update to udis86-git(cd shlr/udis86 ; make sync)
Source taken from git://github.com/vmt/udis86.git
2013-04-02 14:59:38 +02:00
pancake
50408b2e8a Add rahash2 -q and fix -a crc32 endianness issue 2013-03-05 19:59:29 +01:00
pancake
53cf98c8df New command pDi, Fix Vf- to remove flags, fix hamdist 2013-03-04 00:33:14 +01:00
pancake
25529090fe Add xxhash algorithm and add rahash2 -L 2013-02-25 03:23:13 +01:00
pancake
a876acb60e Fixes for sha384 and crc16/32 in RHash. thx bus1ng 2012-10-22 11:06:03 +02:00
pancake
0eb0eabd19 * Do not dist w32 test bins
* rahash2 now depends on r_io
  - support for huge files is wip
* Handle offset in afl command
* Fix libs.mk syntax issue
2011-09-23 12:25:06 +02:00
pancake
0b997374a0 * Some minor indent and warning cleanup 2011-07-04 18:16:12 +02:00
pancake
d471bd6da2 * Handle entropy hash type from rahash2 2011-02-16 14:18:31 +01:00
pancake
f2563a7509 * Export 'srwx' perms of sections in rabin2 -rS
- Handled by 'S' command
* Added dummy 'z' command to handle zignaturez
  - Added more dummy 'az' commands
  - RCore now depends on RSign
* Some refactoring and speedup in _update method of RSearch
  - Added support for distance search (maybe buggy and incomplete atm)
  - Fix binary mask for keywords after previous commit
* Added 'r_str_rwx*' helper functions in r_util
2010-04-08 12:29:47 +02:00
pancake
eb0793c2b1 * Huge code cleanup and refactor for valaswig
- Some APIs has changed (r_hash)
  - Vapis have been reviewed
  - And more
2010-01-04 01:25:52 +01:00
pancake
8579a5b41f * Release version to 0.3
- Propagate @VERSION@ from ACR
  - All *2 apps are now supporting a -V flag to show the version
* Fix .dr* command in r_core debugger
  - dr now supports [regtype] [bitsize] arguments
  - Check dr? for help
* Added some 8, 16 bit registers to the dbg.ptrace backend
  - Just for testing :)
* Check build of the whole source tree
  - test programs are now in ${prefix}/bin/libr-test
* Fix lot of warnings and bugs
* Simplify some code
* Some rapification
* Fix segfault in r_reg related to unallocated arenas
  - New function r_reg_type_by_name() resolves string->id
* Fix help of rax2
2009-09-25 04:04:51 +02:00
pancake
1aadbea576 * Some more random refactoring on r_debug and r_reg
* Added support for bit level hash algorithm selection
  - Integrate it with rahash2
  - Needs some cleanup of spagheti mess
  - All hash algorithms are now supported in a shot :)
  - R_APIfy r_hash
2009-09-15 00:06:37 +02:00