146 Commits

Author SHA1 Message Date
Riccardo Schirone
7572f315ea
meson improvements (#10617)
* meson.build: fix meson build when not on git
* meson.build: make capstone a dependency
* meson.build: make r_magic library optional
* meson.build: capstone include is already in the dependency
* meson.build: use dependencies instead of manual linking + includes
* meson.build: add travis
* flag/meson.build: include sdb dependency
* travis-script: print messages based on install system
* io/meson.build: add sdb as dependency
* syscall/meson.build: missing sdb dependency
* {parse,config}/meson.build: add sdb dependency
* travis.yml: pass INSTALL_SYSTEM var to docker
* {bin/shlr}/meson.build: add sdb_dep to r2java and bin
* install meson and ninja-build in r2-travis docker
* travis.yml: allow meson build to fail for now
* anal/meson.build: add sdb and java dependencies
* egg/meson.build: add sdb dependency
* travis.yml: meson build env should be also in the includes list
* core/meson.build: add java dep
* meson.build: use dependencies also to create main r2 dependency
* rasm2/meson.build: replace link_with with dependencies
* rasm2/meson.build: add sdb as dependency
* meson.builds: convert link_with to dependencies and fix tabs
* travis-script: change meson install prefix and set PKG_CONFIG_PATH
* travis-script: add lib64 to LD_LIBRARY_PATH
2018-07-09 16:58:38 +02:00
Shady Tantawy
2c28d5db28 Modified rahash -L to be grep friendly #9882 (#9941) 2018-04-24 11:39:14 +02:00
pancake
154c638ec2 Initial work to support entropy graphs in rahash2 via r2
- Wip. related to #9871
2018-04-12 16:47:24 +02:00
Farid AYOUJIL
7f79630a48 Fix rahash2 entropy to show non truncated double (#9629) 2018-03-12 23:45:39 +01:00
Paul I
bb4f61580e Cleanup meson files (#9424) 2018-02-20 09:33:19 +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
Ziyaddin Sadigov
d4dd6fd5e6 Fix typo regarding byte size (#9067) 2017-12-27 18:33:58 +01:00
pancake
76cfc611af Fix #8993 - Honor s:key in woD 2017-12-18 16:50:31 +01:00
xarkes
c118091c42 Fix #8486 (meson missing bins) (#8519) 2017-09-15 10:17:50 +02:00
pancake
29ca827cf2 Fix Android builds 2017-08-19 18:52:57 +02:00
alvarofe
2e462ec8f0 Bring RIODesc from SIOL and cleanup 2017-08-18 01:31:57 +00:00
pancake
1b6cfb68bd Fix some memleaks, warnings and null derefs pointed out by clang analyzer 2017-07-10 11:20:03 +02:00
SkUaTeR
dc7914644e Meson improvements 2017-05-31 13:38:47 +02:00
SkUaTeR
9a1337512a meson.build fixes to build with MSVC 2017-05-14 23:06:00 +02:00
pancake
60f9667654 Remove support for bjam build system
- Delete all Jamroot files
2017-05-02 05:48:40 +02:00
pancake
fa671b9a16 Initial support for the Meson build system
- Integrated with current ACR
- Fix some stale fails got removed
2017-05-02 05:05:36 +02:00
pancake
aaa039911b Fix #7334 - rahash2 -ja all produced extra commas 2017-04-21 13:57:20 +02:00
pancake
ddb4e9f216 Fix rahash2 test 2017-04-15 19:56:25 +02: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
pancake
ce7104647e Add rahash2 -E xor and support -S - and -S @ to slurp stdin or files 2017-03-26 00:38:57 +01:00
alvarofe
b99e497fed Indent rahash2 with r2-indent 2017-03-22 21:49:16 +01:00
Roi Martin
8d5b1b5418 Fix build 2017-03-13 14:24:53 +01:00
pancake
2f5c778abe Support stdin slurp for rahash2 -E 2017-01-03 16:51:12 +01:00
pancake
d41b577106 Fix #5924 - r_flags -> r_flag 2016-10-27 01:07:58 +02:00
pancake
9eb1a2903b Enforce hexpair parsing rules. To fix rahash2 -S foo without s: 2016-10-04 15:46:46 +02:00
Tiago Gasiba
520106bac9 Fix #5556 - prints all hashes, even if have gap between the bits 2016-08-28 19:36:59 +02:00
pancake
75fd458df8 Fix #5007 - Clarify the difference of hash/encoder/crypto 2016-08-15 01:10:42 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
pancake
f96f00d62d Fix #5158 - Merge r_db into r_util 2016-06-17 12:19:16 +02:00
pancake
59f94c63aa Fix some critical COVs in RBin 2016-06-14 02:42:24 +02:00
dx
63f474706b rahash2: Don't try to unescape inputs provided as hex strings (-x) (#5075)
Fixes #4642, which is about using '-x 5c', which is a backslash.
2016-06-04 20:31:51 +02:00
pancake
d9cdd29268 Fix endian issue in crc16 and crc32 2016-05-16 02:08:59 +02:00
Rakholiya Jenish
502870f07b list all encoders/decoders supported by woE/woD and rahash2 -E/-D (fix #4851)
list all encoders/decoders supported by woE/woD and rahash2 -E/-D (fix #4851)
2016-05-11 22:25:54 +02:00
Rakholiya Jenish
3019bb477c Add support for punycode via woE and woD and rahash2
Also add aes-cbc support by getting IV from user
2016-05-07 12:31:13 +02:00
pancake
3758b3a54a Fix static/android build 2016-04-25 12:40:01 +02:00
Rakholiya Jenish
f1fe53ef48 fix warning
minor fix

update -h
2016-04-15 15:52:52 +02:00
Rakholiya Jenish
e1660b352a add aes-cbc encryption to rahash2
remove unnecessary comment

update man
2016-04-14 22:39:57 +02:00
Rakholiya Jenish
421a63a849 cleanup code, and use direction for specifying encryption/decryption 2016-04-13 21:54:12 +02:00
pancake
ad795c2b8e Fix static build 2016-04-13 15:10:53 +02:00
Rakholiya Jenish
cfe1cc8c6c refactor the code and fix rc2 ecb implementation
Cleanup in cmd_write.
2016-04-13 12:54:34 +02:00
Rakholiya Jenish
27fba6fa10 Add crypto plugin for base64 and base91
update error occurence.
2016-04-13 10:34:55 +02:00
Rakholiya Jenish
2a68cea14c add woD, and rahash -D option
TODO done

fix error output
2016-04-13 10:34:54 +02:00
Rakholiya Jenish
85419d7356 Refactor and correct code for getting seed as string 2016-04-10 00:37:33 +02:00
pancake
f1f83276ea Fix static build with libbochs 2016-03-25 10:13:50 +01:00
Álvaro Felipe Melchor
146d7b8e25 Fix oob write in rahash2 2016-03-21 16:16:01 +01:00
Pankaj Kataria
234b8d7602 Added support for encrypting file 2016-03-09 08:28:26 +01:00
Pankaj Kataria
e78b293f7c Fixed the case when input-string contains null bytes 2016-03-09 08:28:26 +01:00
Pankaj Kataria
aa8a65a852 rahash2 Added xor encryption 2016-03-09 08:28:26 +01:00
pancake
3efe247889 Fix newlines in rahash2 -qq 2016-03-08 14:44:08 +01:00