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
Paul I
4e73ad7d19
Meson: some cleanup ( #9753 )
2018-03-23 07:47:46 +01:00
Paul I
9c0d682e60
Meson: Invoke python via <python3> module + some little fixes ( #9594 )
...
* Meson: Invoke python via <python3> module
* Meson: Added version check
* Meson: Disable git output for capstone cloning command
2018-03-06 08:28:40 +01:00
Paul I
13f7013696
Meson: Added sdb building/installation rules ( #9575 )
2018-03-05 00:10:28 +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
pancake
040dbad8a3
Add mach code signature magic entry
2018-03-01 19:03:20 +01:00
Paul I
bb4f61580e
Cleanup meson files ( #9424 )
2018-02-20 09:33:19 +01:00
whitequark
0f97fdd228
Fix numerous issues with pkgconfig files.
...
* Modifications like adding @SSL_CFLAGS@ to .pc.acr files that
would be overwritten by `make pkgcfg` have been moved to
Makefiles proper.
* Missing .pc.acr files for libraries r_egg and r_crypto were
added to the tree as well as the configure script.
* Instead of explicitly listing every -lr_* library in every
.pc file in the Libs: section, r_* libraries are now listed
in the Requires: section, which ensures that flags get
transitively propagated. This gets rid of the MAGICSED hack.
2018-01-11 23:09:22 +01:00
Khairul Kasmiran
1db08bb498
Fixed r_magic_version prototype warning
2017-12-31 20:29:09 +08:00
Ziyaddin Sadigov
d4dd6fd5e6
Fix typo regarding byte size ( #9067 )
2017-12-27 18:33:58 +01:00
pancake
1926ad859a
Fix make symstall with relative paths
2017-10-18 17:53:00 +02:00
Fangrui Song
c1472e6630
Leak fixes ( #8060 )
2017-07-30 03:57:02 +02:00
pancake
abaac71290
Fix last covs
2017-07-26 18:46:29 +02:00
Anton Kochkov
0e9a5fff34
Fix a few {A,M,UB}SAN complaints
2017-07-26 20:54:52 +08:00
SkUaTeR
c31d81da26
support for static build ( #7822 )
...
* support for static build
* improved sharard/static build
2017-06-28 22:54:40 +02:00
Lowly Worm
192dbad64e
fix a few covs for out of bounds reads/writes
...
from fencepost errors
2017-06-03 01:21:07 -04: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
Anton Kochkov
82e41828ac
Fix Cygwin build [2]
2017-04-17 19:30:39 +08:00
Marcel
a4fc91f29b
Remove dirent.h dependency for Windows and add utf16<->utf8 conversion function
2017-04-15 13:07:33 +02:00
Álvaro Felipe Melchor
6870bec29f
Fix #6853 - get rid of asserts
2017-03-12 15:24:05 +01:00
pancake
485f1ff834
Fix #6176 - Avoid using non-gnu-friendly format types in magic files
2017-03-12 11:46:38 +01:00
pancake
fe1094fe5e
Remove noisy magic and fix indent in anal/bb
2016-12-26 04:42:18 +01:00
pancake
8cc53279dc
Add X86/MBR DOS/FAT magic signature
2016-12-24 02:04:22 +01:00
Álvaro Felipe Melchor
88d4649cc6
fix more coverities
2016-12-19 17:23:30 +01:00
pancake
0111506292
Fix STRLCPY macro from regex and fix 1 byte overflow CID
2016-12-19 03:23:49 +01:00
Sebastian Reichel
0deb096ea7
Fix magic files ( #6178 )
...
* magic: fix 'Printf format is too long' warnings
* magic: fix warning: Current entry does not yet have a description for adding a MIME type
* magic: fix mime type for debian packages
* magic: workaround for libmagic bug
libmagic currently warns about beshort/leshort type being
printed as "%hd" with the following warning:
Printf format is too long for type `leshort' in description `%hd'
As a workaround the short value can be printed using '%d'
without generating a warning.
2016-11-12 11:10:09 +01:00
Sebastian Reichel
e9383b1441
Arch independent data in share ( #6183 )
...
* magic data is architecture independent
* fcnsign data is architecture independent
* opcode data is architecture independent
* syscall data is architecture independent
* hud data is architecture independent
2016-11-12 11:08:34 +01:00
Sven Steinbauer
2996538700
Fix #5633 - Change x == NULL
to correct syntax
2016-09-19 14:44:47 +02:00
Sven Steinbauer
547f8bbc5c
Infer fixes Round 2 ( #4993 )
2016-05-24 22:22:15 +02:00
pancake
aae417badf
More OSX-PPC fixes
2016-04-27 01:52:35 +02:00
pancake
ed82bfd59c
Fix double free in libmagic pointed out by clang-analyzer
2015-11-02 12:21:17 +01:00
xambroz
d448260816
build cleanup focused on possibility to control the lib directories with the build parameters
...
needed mainly for RedHat/Fedora builds
2015-10-27 03:26:45 +01:00
pancake
74ccde1168
Fix softmagic crash in PE bin (reported by @daniel-rome)
2015-09-21 12:51:01 +02:00
pancake
90f8ec4ff8
Fix #3297 - make install after make symstall
2015-09-17 11:11:24 +02:00
jvoisin
dba909b1dd
Fix yet-another-batch of clang-analyzer issues
2015-09-01 23:24:11 +02:00
pancake
9c8c017f40
Fix #3192 - dsojson double free and code cleanup (-34LOC)
2015-08-31 21:58:59 +02:00
pancake
c576ca036b
Detect shellscripts with pm
2015-06-29 11:36:50 +02:00
Álvaro Felipe Melchor
7bd2cd08ff
Fix some warnings
2015-06-16 22:48:13 +02:00
jvoisin
0c144f16bc
Even more coverifixes
2015-06-02 22:59:30 +02:00
pancake
455876fe51
ZIP signature is now less restrictive
2015-05-29 16:15:08 +02:00
pancake
917729be08
Fix --with-sysmagic, honor search.align and some more optimizations for /m
2015-03-27 04:05:00 +01:00
Maijin
30e2a2df7e
Disable 2 anyoying MAGIC RULES
...
Disable 2 annoying MAGIC RULES making a lot of false positive in PE:
SAS and SAS 7+ (string)
2015-03-19 22:01:06 +01:00
jvoisin
838c467724
Coverifix once again
2015-02-19 15:04:58 +01:00
pancake
d8098a64f8
Fix softmagic
2015-02-18 01:22:20 +01:00
pancake
ec5836963b
Better JPEG and GPG magic signatures
2015-02-17 02:17:46 +01:00
pancake
d7747ab831
Fix read overflow in libr_magic
2015-02-17 02:03:15 +01:00
pancake
c2febd2ffc
Drop some noisy magic rules
2015-02-06 23:59:19 +01:00
pancake
383e225135
Fixes on top of the clang-warn-fix commit
2015-02-05 10:57:28 +01:00
Jeffrey Crowell
d4e0575d67
build on clang jenkins now
2015-02-05 10:57:21 +01:00
jvoisin
249fb839fe
Coverifix
2015-01-30 22:51:01 +01:00
jvoisin
abd2fb5179
Some coverifix
2015-01-15 23:52:56 +01:00
Jeffrey Crowell
ed1aae7fd1
fix lots of spelling
...
fix some errors from the sed script
undo file mode crap
2014-12-07 17:00:59 +01:00
Kamil Rytarowski
aadbd0f868
Fix GCC warnings: array subscript has type 'char'
...
Reported at NetBSD-current/amd64
GCC 4.8.4 (nb1 20141012)
2014-12-04 03:26:08 +00:00
pancake
97b8064f42
Fix non-aarch64 android builds? and build fail for --with-sysmagic
2014-11-10 02:26:03 +01:00
pancake
bf541e8ec8
More magic cleanup
2014-10-22 06:07:22 +02:00
pancake
1d9955b2d4
Clean unnecessary MAGIC rules and optimize its search
...
- Cleanup MAGIC database to avoid false positives,
- Optimize magic search loop 6x faster /m
2014-10-22 00:56:11 +02:00
pancake
b8b240588e
Add TRX magic header
2014-10-20 02:09:39 +02:00
pancake
d809200fa2
Fix more memleaks
2014-08-29 16:42:00 +02:00
pancake
ef8933173f
More fixes for 'pm' and '/m'
2014-08-11 03:01:41 +02:00
pancake
19239ae8f2
More updates for magicdir
2014-08-11 02:23:23 +02:00
pancake
683c0eb8dd
Fix magicdir for mach0 files
2014-08-11 01:59:36 +02:00
pancake
08c1a81ccb
Cleanup and update libmagic database
2014-08-11 01:50:51 +02:00
jvoisin
975daf00f5
Coverifix
2014-07-30 22:26:13 +02:00
pancake
2719a78290
Support make install & make symstall with DESTDIR or PREFIX with spaces
2014-07-10 01:13:04 +02:00
Jonathan Neuschäfer
3276fdd1dc
Fix two out-of-bounds reads in softmagic.c:match
2014-06-25 11:45:09 +02:00
jvoisin
2c263fbc22
Fix CID 1134681
2014-05-24 01:00:56 +02:00
Anton Kochkov
8032c66b82
Fix CID 1135061
2014-05-13 02:26:48 +04:00
Anton Kochkov
ff17fab130
Fix CID 1134880
2014-05-03 10:48:06 +04:00
Anton Kochkov
d56b4046de
Fix CID 1134837
2014-05-03 04:29:09 +04:00
jvoisin
65bb8c5ec6
Coverity fixes #590
...
- Sandbox r2agent
- Check a return value
- Add missing parentheses
- Add missing parentheses
- Fix a division by zero
- Fix a wrong assignation
2014-02-02 23:58:50 +01:00
pancake
86507d9637
Fix stuff to make perl bindings happy
2014-01-05 00:41:13 +01:00
pancake
dba63fbd3c
Add some Jam files and merge rsign into ranal
2013-12-31 05:30:39 +01:00
pancake
d02df0d306
Fix some issues reported by CoverityScan service
2013-12-03 00:14:59 +01:00
pancake
d6de30eba4
More R_LIB_VERSION and initial r_asm_set_cpu() dummy api
2013-06-15 02:56:25 +02:00
capi_x
c9eb90adbc
Add initial Haiku support
2013-06-06 00:21:52 +02:00
pancake
d82c53224f
Fix w32 build
2013-01-23 14:50:50 +01:00
pancake
e48b9b2f30
Add cfg.sandbox functionality
...
f.example: $ r2 -c=H -e cfg.sandbox=true -
2012-10-20 00:31:18 +02:00
pancake
69a12884ed
Simplify the build system
...
doc.sw has been moved to radare2-extras
2012-10-03 14:31:35 +02:00
pancake
0e82165bf7
Honor make -s and lot of build cleanups
2012-08-14 15:44:17 +02:00
pancake
65d1dddfd1
* apply rudi_s patch fixing multiple bugs
...
- Fix uninitialized variables and other GCC warnings
- Remove unused variables, fix invalid heap ops
- ?p print error if VA is not
- Fix invalid write in r_io_cache_read().
* add support for 'mov reg, [addr]' in x86.nz[32]
2012-02-12 23:45:04 +01:00
pancake
4a50f8a94d
* Distribute magic files with w32dist
...
* Fix symstall of magic files
* Do not walk hidden files in magic
* Add has_va in RBinInfo class for bindings
2011-11-29 18:31:26 +01:00
pancake
048e9ea8ce
* Fix some warnings related to alloca(), %llx and O_BINARY for w32
...
* sync sdb
* Add some more eval var descriptions
2011-11-29 12:28:02 +01:00
pancake
35d535095b
* Install includes in windows dist
...
* Import linux-x86-32/64 and darwin-x86-32 sflib includedirs
* Simplify data installation for magic, egg, syscall and asm
* Set R2_INCDIR in r_userconf
* Make ragg2-cc much smarter
- use ragg2 -v to get paths and version
- accept new flags -a -b -k for arch, bits and kernel
- supports crosscompilation
--HG--
rename : libr/magic/d/OpenBSD => libr/magic/d/default/OpenBSD
rename : libr/magic/d/archive => libr/magic/d/default/archive
rename : libr/magic/d/cafebabe => libr/magic/d/default/cafebabe
rename : libr/magic/d/cisco => libr/magic/d/default/cisco
rename : libr/magic/d/database => libr/magic/d/default/database
rename : libr/magic/d/editors => libr/magic/d/default/editors
rename : libr/magic/d/elf => libr/magic/d/default/elf
rename : libr/magic/d/filesystems => libr/magic/d/default/filesystems
rename : libr/magic/d/flash => libr/magic/d/default/flash
rename : libr/magic/d/freebsd => libr/magic/d/default/freebsd
rename : libr/magic/d/gimp => libr/magic/d/default/gimp
rename : libr/magic/d/images => libr/magic/d/default/images
rename : libr/magic/d/java => libr/magic/d/default/java
rename : libr/magic/d/jpeg => libr/magic/d/default/jpeg
rename : libr/magic/d/linux => libr/magic/d/default/linux
rename : libr/magic/d/mail.news => libr/magic/d/default/mail.news
rename : libr/magic/d/matroska => libr/magic/d/default/matroska
rename : libr/magic/d/mime => libr/magic/d/default/mime
rename : libr/magic/d/msdos => libr/magic/d/default/msdos
rename : libr/magic/d/netbsd => libr/magic/d/default/netbsd
rename : libr/magic/d/pdf => libr/magic/d/default/pdf
rename : libr/magic/d/perl => libr/magic/d/default/perl
rename : libr/magic/d/python => libr/magic/d/default/python
rename : libr/magic/d/riff => libr/magic/d/default/riff
rename : libr/magic/d/sniffer => libr/magic/d/default/sniffer
rename : libr/magic/d/sql => libr/magic/d/default/sql
rename : libr/magic/d/sun => libr/magic/d/default/sun
rename : libr/magic/d/uuencode => libr/magic/d/default/uuencode
2011-11-29 03:14:27 +01:00
pancake
31a11600c5
* Theorically fix the r_magic dirty sanchez bug
...
* Fix RIO seek undo with io.va
* Warn if file size != region size in dml
2011-11-16 10:06:34 +01:00
pancake
ac7f96bb0c
* Add ragg2 -p to specify a padding
...
- Use the new r_egg_padding function
* Add support for continuations in rapatch2 '+' char
* Fix malloc(0) thanks to llvm's scan-build
* Fix build
2011-11-13 05:26:07 +01:00
pancake
14f85bd76f
* Import Glyn Kennington's patch for the build system
...
- Use absolute paths everywhere and simplify Makefiles
2011-11-03 11:49:50 +01:00
pancake
55f5dc283e
* Initial support for php5 bindings
...
- Does not link on OSX. maybe in Linux it does..
- Requires valabind-hg
* Add mp.py to get python module path (magic!)
- Fixes install-python target in
- Add purge-python makefile target
* Check for */*cxx to autodetect support
2011-10-26 01:52:05 +02:00
pancake
6a01556838
* Some fixes for the non-pic build
2011-10-20 02:31:49 +02:00
pancake
c05de07cfd
* Add some wrapper methods to r_magic with sysmagic
2011-10-20 00:57:02 +02:00
pancake
7dbab2f3bc
* Add missing r_anal_diff_setup_i()
...
* Many fixes for r_magic
- Proper support for --with-sysmagic
- Fix bindings build
- Fix magic files to work with GNU file
- Add magic instance in RCore
- Use unowned instead of weak in vapi (deprecated)
2011-10-18 22:07:53 +02:00
pancake
4106e9e1b2
* Bump 0.8.8, but still not release
...
* Add --with-magic to use system magic library
2011-10-18 09:38:20 +02:00