226 Commits

Author SHA1 Message Date
Sylvain Pelissier
19b7eeba38
Add CRC search to magic ##search 2024-08-17 13:39:25 +02:00
pancake
42aaf6254c Reduce false positive on "java source" magic ##search 2024-05-28 17:01:49 +02:00
pancake
9ed046cbe3 Add a magic file for flutter magics ##search 2024-05-28 17:01:49 +02:00
pancake
44b6a981a3 Add magic number for the codeview debug info 2024-03-21 10:11:26 +01:00
meme
e3fa281635 Fix symbol conflict with libmagic 2024-02-27 16:22:16 +01:00
Omvpatil
446ce5f541
Fix #19823 - Changed http to https 2024-02-14 17:42:25 +01:00
pancake
9ece938b3c
Fix 'attach to pid 1' error regression in the linux debugger 2023-11-18 23:15:35 +01:00
pancake
02a0ff8bbb Please some else lints 2023-11-13 15:52:48 +01:00
pancake
9783470d98 Do not include .c in libr/magic 2023-09-12 17:12:44 +02:00
meme
63bdabbbc4 Add Inferno Dis ##magic 2023-02-23 15:54:17 +01:00
pancake
b8e6b52aac Also replace __UNIX__ with R2__UNIX__ 2022-12-10 20:32:10 +01:00
pancake
97a6439055 Do the same for __WINDOWS__ -> R2__WINDOWS__ 2022-12-10 20:32:10 +01:00
pancake
05947def03
Move the preincrement and void arg from tests to lint.sh ##syntax
* The regex was not correct, so it was missing a lot of cases
2022-11-30 17:13:32 +01:00
pancake
a42ce829c5 fix ifdef 2022-11-02 22:03:45 +01:00
Sylvain Pelissier
5328afc86b Correct magic hit numbering and move base64 into magic 2022-10-14 16:34:10 +02:00
pancake
a06ade1796
Balance spacings in braces ##indent 2022-10-13 21:21:34 +02:00
pancake
4d210952b3 Use R_LOG in RMagic.warnMsg() and enable more lints 2022-10-09 01:14:29 +02:00
pancake
95eff67851
Enable the leading spaces linter rule and fix them all ##lint 2022-09-24 03:43:21 +02:00
pancake
16cb83a19c Use more tabs and add a (disabled for now) linter for it ##lint 2022-09-23 22:07:49 +02:00
pancake
ac0fb10f99
Remove the last global variable in libmagic ##globals 2022-09-19 20:42:27 +02:00
Sylvain Pelissier
7a4c50b406 Update flash magic, reduce false positive and add a test 2022-09-16 11:17:13 +02:00
pancake
007809f8dd Boolify and rename some methods and fields from RFS ##api
* fs plugins now can hold an .author field
* API breaks for simplicity
2022-09-14 23:41:12 +02:00
Axel Iota
d3becf1f5a Superseed #20447 - remove some magic globals ##search 2022-09-14 18:49:24 +02:00
pancake
62d565e143 Fix a few GCC 12 warnings from #20087 2022-09-07 11:58:28 +02:00
pancake
b6e7292019 Enable linting for trailing tabs ##lint 2022-08-22 23:25:40 +02:00
pancake
55d9d55787
Linting for 'cmp (' and asan in Cf 2022-08-20 12:35:11 +02:00
pancake
7a35f03471 More source spacing linting 2022-08-18 14:37:29 +02:00
pancake
52a22ab995 Add lint for \tfree( 2022-08-18 10:27:06 +02:00
pancake
8c66266e99 Lint for trailing spaces 2022-08-15 18:21:18 +02:00
pancake
ddf483893e Test and benchmark --with-sysmagic in the CI ##search
* Improve output of search.verbose
* Remove conflictive magic signature
2022-08-07 16:24:08 +02:00
Axel Iota
0f81b08bb9
Remove unused daylight logic in magic/mdump ##refactor 2022-07-20 13:24:46 +02:00
Axel Iota
fe20a5413b
Remove optyp global variable for magic ##refactor 2022-07-20 01:13:25 +02:00
Axel Iota
9684cb6d1f
Remove time_t now global variable for magic ##globals 2022-07-19 18:48:56 +02:00
pancake
d329b54ea6 mbr magic is not good for deltified matches ##search 2022-07-14 18:08:16 +02:00
pancake
6539f9f575 Remove noisy mail.news magic file ##search 2022-07-14 18:06:56 +02:00
pancake
60b68b694f Improve little and big endian LZMA header magic matching ##search 2022-07-12 14:00:23 +02:00
pancake
e03d58986f Add RSA/DSA key magic ##magic 2022-07-12 13:03:06 +02:00
pancake
9f12bfd0a8
Get rid of some globals and tls-ify others 2022-07-03 10:01:58 +02:00
pancake
d19f21b50a
Remove newline in date and pt. output ##shell 2022-06-03 20:52:46 +02:00
pancake
d8c83947ee Add compiled yara rules magic 2022-05-23 20:02:37 +02:00
pancake
f46c4e793f
Move more local static into the thread-local-storage (#20134) 2022-05-19 12:41:26 +02:00
Elaine Gibson
4b22fc55a8 Unconditionally compile r_magic_from_ebcdic 2022-05-10 11:43:35 +02:00
pancake
5a9e0a19ba Add bin.s390 to meson build and fix linkage with RMagic
* Exposes from_ebcdic() api, but must be moved to RUtil maybe
2022-05-09 08:20:01 +02:00
pancake
c8ae21f68f
Only build library archives when -Dblob is provided ##build
* Lowers the amount of objects from 2400 to 1500
2022-03-22 11:59:13 +01:00
pancake
4ba0af5d1d Fix meson -Dblob=true builds for static ##windows 2022-03-16 00:48:50 +01:00
pancake
f8a35da205
Dont use != NULL as its implicit in C, even for bool casts ##refactor
$ find binr libr -name "*.c" -exec sed -i -e 's/ != NULL//g' {} \;
2022-03-15 19:54:04 +01:00
pancake
4bed905d8a
Fix msvc warnings (#19827) 2022-03-15 19:27:34 +01:00
Sergi Àlvarez i Capilla
aef278ee9c Make -Dblob=true statically link all r2 libraries ##build 2022-03-02 11:30:28 +01:00
pancake
b30a4ea80b
Remove all the uses of %z as its not supported on Windows 2022-02-01 11:07:46 +01:00
pancake
917527306f
Address latest covs and remove some %zu format warnings (#19647) 2022-02-01 08:19:38 +01:00