113 Commits

Author SHA1 Message Date
radare
d05292e485
Fix 80 warnings coming from gcc8.2 (#12280) 2018-11-22 22:11:43 +01:00
radare
71053f17e9
Move trie, mixed, slist into Sdb's Attic, and DES from util to crypto ##refactor 2018-11-07 17:18:14 +01:00
Neven Sajko
9fadc2ab9f Put 'static' first in declarations (#11526) 2018-09-15 23:06:11 +02:00
Paul I
bf29250ddd Fix #11487 (#11534) 2018-09-15 22:52:12 +02:00
Neven Sajko
8ee4c902fb Fix #10408 Implement bitwise rotations correctly (#11508) 2018-09-13 11:00:02 +02:00
Neven Sajko
4a722e80d8 Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
Riccardo Schirone
eee1385466
Meson private (#11331)
* meson: refactor library cflags
* meson: use visibility=hidden by default
* remove unused var
* magic/meson: replace tabs with spaces
2018-09-03 10:07:28 +02:00
radare
a8aad5305d
Fix buffer overflow in base64 decoder with 'UyoKCg==' (#11319) 2018-08-31 01:56:12 +02:00
Neven Sajko
d8784641ee Add parentheses in macros where needed for safety (#11290) 2018-08-30 13:16:50 +02:00
Paul I
620affc89e Fix some warnings (#11152) 2018-08-20 14:52:02 +08:00
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
pancake
65deb59f5f Restrict width boundaries in panels 2018-06-20 10:13:58 +02:00
Paul I
7e9f982849 Meson: some cleanup (#10076) 2018-05-16 10:24:35 +02:00
Paul I
cc90ec6be5 [WIP] Move hardcoded paths to r_userconf.h (#9959)
* Move hardcoded paths to r_userconf.h

* Add R2_HOME_* macros

* Some cleanup
2018-04-28 10:02:55 +02:00
Paul I
40b4a5b557 Meson: disable libversion info for Windows (#9858) 2018-04-10 22:44:54 +02:00
Paul I
ca3652da4b Meson: Add version info for shared libs (#9763) 2018-03-24 18:18:32 +01:00
Florian Märkl
5e1f811ec0 Fix meson indentation (#9567) 2018-03-03 22:08:37 +01:00
Florian Märkl
95a1b75784 Install Headers and .pc Files with Meson (#9548)
Use meson pkgconfig for .pc files

meson 0.44

Install same headers as acr
2018-03-03 20:00:18 +08:00
Paul I
bb4f61580e Cleanup meson files (#9424) 2018-02-20 09:33:19 +01:00
whitequark
c816dc7e66 Don't try to build shared libraries if configured as --without-pic.
Specifically, avoid building all plugins as non-static objects,
as well as some supplementary libraries. In fact, a large amount
of plugins was already gated to build as shared objects only with
WITHPIC=1, but this was not done consistently.
This gating has been moved to */p/Makefile.

Building these shared objects is a waste of time and breaks
the --without-pic build unless CFLAGS is forced in the make
invocation.
2018-01-11 23:09:22 +01:00
Nics
680d3e3329 Implem and integration of the Serpent cipher (ECB) (#8917)
* Implem and integration of the Serpent cipher (ECB)

* Fix for loop variables to be C90 compliant.

* Fix coding style

* Add meson config for Serpent
2017-11-30 22:47:29 +01:00
Maijin
4bb5c15faa r_lib_struct_t -> RLibStruct 2017-11-10 13:38:05 +01:00
SkUaTeR
c31d81da26 support for static build (#7822)
* support for static build
* improved sharard/static build
2017-06-28 22:54:40 +02:00
SkUaTeR
dc7914644e Meson improvements 2017-05-31 13:38:47 +02:00
pancake
6758e3753d Remove configure-plugins dependency for the make meson 2017-05-26 02:43:53 +02:00
SkUaTeR
9a1337512a meson.build fixes to build with MSVC 2017-05-14 23:06:00 +02:00
SkUaTeR
beb80cfc16 Fixes for MSVC 2017-05-09 23:53:20 +02:00
xarkes
926f024909 Improved MSVC support (WIP) 2017-05-09 14:25:57 +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
b3850be217 Lot of null derefs fixes in signatures and crypto
- Remove \r from crypto_des
- Initial work towards dir.zigns
2017-04-28 14:37:28 +02:00
pancake
e076734fb9 Fix #7307 - Remove harmless warnings reported by a Debian user 2017-04-18 16:22:06 +02:00
pancake
ffe0da0fa1 Fix many more clang-analyzer null derefs and overflows 2017-04-18 00:38:24 +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
Giovanni
43532031c4 Fixes for windows and some are also global (#6936) 2017-03-08 08:49:31 +01:00
Giovanni
347a392cc9 Fix #3499 - AVR-DES + DES Refactoring 2017-03-03 11:00:07 +01:00
pancake
4dc2b8b081 Add sys/sdk build script (wip) 2017-02-02 13:25:14 +01:00
pancake
ef233e2bd5 Fix function signature casting issues 2017-01-29 23:05:02 +01:00
Giovanni
e005a3c4fc Bad key length fix for des-ecb & patched building issues (#6602)
* Bad key length fix for des-ecb

* fixed bad char
2017-01-29 00:50:45 +01:00
Álvaro Felipe Melchor
815f9543b4 Rename des to des-ecb 2017-01-28 14:07:08 +01:00
Giovanni
276f9acae7 Add DES support to rahash2 2017-01-28 12:52:39 +01:00
pancake
9ae05e864f Mark AES as broken for non-clang/gcc because of the use of dynamic array arguments 2017-01-09 18:19:39 +01:00
pancake
2b296e5d2b Fix tcc build 2017-01-09 17:12:06 +01:00
pancake
ea5c83ce4e Fix a bunch of malloc(0) 2016-11-08 15:09:52 +01:00
pancake
496da56a9e Fix sys/ios-static.sh 2016-09-12 20:52:12 +02:00
Pau Oliva
bf6f4c5477 Add CPS-2 encryption support 2016-08-30 16:28:24 +02:00
Pau Oliva
3f2b2a1726 Fix endianness issues in CPS-2 decryption 2016-08-19 12:04:53 +02:00
Pau Oliva
52ce3359a8 fix set_key return value in crypto_cps2 (#5552) 2016-08-18 14:48:31 +02:00
pancake
1fa04d98c3 Fix for crypto.cps2 2016-08-03 14:07:03 +02:00
pancake
fc4354eff0 Add cps2 plugin in crypt.c (should be dynamic!) 2016-08-01 17:34:17 +02:00