Update changelog and improve WAV detection scripts

Revised changelog entries for clarity and accuracy, including contributor names and bug fix notes. Cleaned up and refactored audio.RIFF-IMA.1.sg and audio.WAV.1.sg scripts for better readability and maintainability, including improved comments, formatting, and minor logic adjustments.
This commit is contained in:
DosX 2025-08-09 17:58:42 +03:00
commit cdafcb7c08
3 changed files with 30 additions and 11 deletions

View file

@ -2,11 +2,11 @@
-----------------------------------------------------------------------
[+] Build instructions for openSuse, Fedora, Arch Linux
[+] Microsoft Store port
[+] Tray monitoring, System environment variable
[+] Monitoring for downloads
[+] Downloads and tray monitoring, system environment variable
[+] Option in BufferSize for 512 MiB
[+] Improved Heuristic module for PE by DosX
[+] Improved Heuristic module for PE by DosX_dev
[+] New detects and optimization of all scripts (thanks to DosX_dev, hypn0, Kae, BJNFNE and all contributors)
[+] Many bugs have been fixed
#######################################################################
3.10
@ -42,6 +42,7 @@
[+] New translations
[+] Many bugs have been fixed
#######################################################################
3.07
-----------------------------------------------------------------------
[+] Bundle for Ubuntu 22.10
@ -51,6 +52,7 @@
[+] New translations
[+] Many bugs have been fixed
#######################################################################
3.06
-----------------------------------------------------------------------
[+] Bundle for Arch Linux
@ -60,6 +62,7 @@
[+] New translations
[+] Many bugs have been fixed
#######################################################################
3.05
-----------------------------------------------------------------------
[+] Bundle for Ubuntu 22.04
@ -70,6 +73,7 @@
[+] New translations
[+] Many bugs have been fixed
#######################################################################
3.04
-----------------------------------------------------------------------
[+] Source code Qt6 compatibility
@ -85,6 +89,7 @@
[+] New translations
[+] Many bugs have been fixed
#######################################################################
3.03
-----------------------------------------------------------------------
[+] New detects
@ -95,6 +100,7 @@
[+] New translations
[+] Many bugs have been fixed
#######################################################################
3.02
-----------------------------------------------------------------------
[+] Crypto signatures
@ -104,6 +110,7 @@
[+] Autotools build system
[+] Many bugs have been fixed
#######################################################################
3.01
-----------------------------------------------------------------------
[+] Qt 5.15.2
@ -115,6 +122,7 @@
[+] New translations (Italian, Turkish, Korean, Spanish, French, Portuguese)
[+] Many bugs have been fixed
#######################################################################
3.00
-----------------------------------------------------------------------
[+] Qt 5.12.8
@ -122,11 +130,13 @@
[+] New Disassembler
[+] New scan engine
#######################################################################
2.06
-----------------------------------------------------------------------
[+] Qt 5.12.4
[+] Many bugs have been fixed.
#######################################################################
2.05
-----------------------------------------------------------------------
[+] Many bugs have been fixed.
@ -134,16 +144,19 @@
[+] No UPX build for Windows version
(DiE packed with UPX has AntiVirus alerts)
#######################################################################
2.04
-----------------------------------------------------------------------
[+] Many bugs have been fixed
#######################################################################
2.03
-----------------------------------------------------------------------
[+] Windows XP support for YARA
[+] New detects
[+] Many bugs have been fixed
#######################################################################
2.02
-----------------------------------------------------------------------
[+] Qt 5.6.3
@ -152,6 +165,7 @@
[+] New detects
[+] Many bugs have been fixed
#######################################################################
2.01
-----------------------------------------------------------------------
[+] New icons and images(Thanks Metabolic)
@ -167,9 +181,10 @@
[+] Donate page in About dialog
[+] Many bugs have been fixed
#######################################################################
2.00
-----------------------------------------------------------------------
[+] More than 500 new detects (thanks hypn0 and other contributors)
[+] New experimental scanning method
[+] Many bugs have been fixed
#######################################################################
#######################################################################

View file

@ -18,6 +18,5 @@ function detect() {
}
}
return result();
}

View file

@ -18,9 +18,10 @@ function detect() {
nBPS = 0,
hksz = 4,
hkhd = "", title = "", dt = "", by = "", genre = "", cms = "", cmt = "", sft = "",
p = 0xC,
end = false;
p = 0xC;
if (debug) var chunks = "";
while (p < X.Sz() && p < sz) {
hkhd = X.SA(p, 4);
hksz = X.U32(p + 4, _LE);
@ -281,7 +282,7 @@ function detect() {
/* beautify preserve:end */
break;
case "fact":
dcsamples = X.U32(p, _LE); //the uncompressed (factual?) file size?
dcsamples = X.U32(p, _LE); // the uncompressed (factual?) file size?
case "data":
bDetected = true;
if (nBPS && nFormat == 1 && !(nBPS % 8)) {
@ -327,19 +328,23 @@ function detect() {
}
break;
}
hksz += hksz & 1; //align
hksz += hksz & 1; // align
p += hksz
} // end of chunks
sOptionT(addEllipsis(title)); sOptionT(dt, 'created: '); sOptionT(addEllipsis(by), 'by: ');
sOptionT(genre, 'genre: '); sOptionT(addEllipsis(sft), 's/w: '); sOptionT(addEllipsis(cms), 'cms.by: ');
sOption(addEllipsis(cmt.trim()), 'cmt: "', '"');
if (labl.length) sOptionT(addEllipsis(labl.filter(function (x) { return x.length > 0 }).join('; ')), 'labels: "', '"');
if (txts.length) sOptionT(addEllipsis(txts.filter(function (x) { return x.length > 0 }).join('; ')), 'captions: "', '"');
if (debug) if (chunks) sOption(chunks, 'chunks: [', ']');
sOption('ch:' + nChannels + (nBPS ? ' ' + nBPS + '-bit' : '') + ' s/r:' + nRate + 'Hz'
sOption(
'ch:' + nChannels + (nBPS ? ' ' + nBPS + '-bit' : '') + ' s/r:' + nRate + 'Hz'
+ (dcsamples ? ' fact:' + Math.round(dcsamples / 0x100000) + 'M' : '') //for compressed things only
+ ' sz:' + outSz(sz));
+ ' sz:' + outSz(sz)
);
}
return result();