Commit Graph

98 Commits

Author SHA1 Message Date
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