// Detect It Easy: detection rule file

// Author: DosX
// E-Mail: collab@kay-software.ru
// GitHub: https://github.com/DosX-dev
// Telegram: @DosX_dev

// https://github.com/dpirch/libfvad
meta("library", "libfvad");

function detect() {
    if (PE.isLibraryPresentExp(/fvad\./i)) {
        bDetected = true;
    } else if (PE.isExportFunctionPresentExp(/^fvad_/)) {
        sOptions = "static"; // EAT
        bDetected = true;
    }

    return result();
}