Home
last modified time | relevance | path

Searched refs:lsigcnt (Results 1 – 18 of 18) sorted by relevance

/dports/security/clamav-lts/clamav-0.103.5/libclamav/
H A Dmatcher-ac.c784 val = lsigcnt[id]; in cli_ac_chklsig()
1359 if (!data->lsigcnt) { in cli_ac_initdata()
1370 if (!data->lsigcnt[0]) { in cli_ac_initdata()
1371 free(data->lsigcnt); in cli_ac_initdata()
1382 data->lsigcnt[i] = data->lsigcnt[0] + 64 * i; in cli_ac_initdata()
1386 free(data->lsigcnt); in cli_ac_initdata()
1400 free(data->lsigcnt); in cli_ac_initdata()
1418 free(data->lsigcnt); in cli_ac_initdata()
1438 free(data->lsigcnt); in cli_ac_initdata()
1532 free(data->lsigcnt[0]); in cli_ac_freedata()
[all …]
H A Dmatcher-ac.h62 uint32_t **lsigcnt; member
139 int cli_ac_chklsig(const char *expr, const char *end, uint32_t *lsigcnt, unsigned int *cnt, uint64_…
H A Dbytecode.h131 …fo *info, const struct cli_all_bc *bcs, unsigned bc_idx, const uint32_t *lsigcnt, const uint32_t *…
H A Dbytecode_priv.h184 uint32_t lsigcnt[64]; member
H A Dmatcher.c830 if (cli_ac_chklsig(exp, exp_end, acdata->lsigcnt[lsid], &evalcnt, &evalids, 0) == 1) { in lsig_eval()
897 …de_runlsig(ctx, target_info, &ctx->engine->bcs, ac_lsig->bc_idx, acdata->lsigcnt[lsid], acdata->ls… in lsig_eval()
910 …de_runlsig(ctx, target_info, &ctx->engine->bcs, ac_lsig->bc_idx, acdata->lsigcnt[lsid], acdata->ls… in lsig_eval()
H A Dbytecode.c2786 const uint32_t *lsigcnt, in cli_bytecode_runlsig() argument
2799 ctx.hooks.match_counts = lsigcnt; in cli_bytecode_runlsig()
2820 memcpy(&ctx.lsigcnt, lsigcnt, 64 * 4); in cli_bytecode_runlsig()
2868 ctx->hooks.match_counts = ctx->lsigcnt; in cli_bytecode_runhook()
H A Dyara_exec.c697 push(acdata->lsigcnt[aclsig->id][string->subsig_id]); in function_read()
H A Dmatcher-byte-comp.c492 mdata->lsigcnt[bcomp->lsigid[1]], &evalcnt, &evalids, 0) != 1) { in cli_bcomp_scanbuf()
H A Dmatcher-pcre.c625 …if (cli_ac_chklsig(pm->trigger, pm->trigger + strlen(pm->trigger), mdata->lsigcnt[pm->lsigid[1]], … in cli_pcre_scanbuf()
/dports/security/clamav/clamav-0.104.2/libclamav/
H A Dmatcher-ac.c784 val = lsigcnt[id]; in cli_ac_chklsig()
1359 if (!data->lsigcnt) { in cli_ac_initdata()
1370 if (!data->lsigcnt[0]) { in cli_ac_initdata()
1371 free(data->lsigcnt); in cli_ac_initdata()
1382 data->lsigcnt[i] = data->lsigcnt[0] + 64 * i; in cli_ac_initdata()
1386 free(data->lsigcnt); in cli_ac_initdata()
1400 free(data->lsigcnt); in cli_ac_initdata()
1418 free(data->lsigcnt); in cli_ac_initdata()
1438 free(data->lsigcnt); in cli_ac_initdata()
1532 free(data->lsigcnt[0]); in cli_ac_freedata()
[all …]
H A Dmatcher-ac.h62 uint32_t **lsigcnt; member
139 int cli_ac_chklsig(const char *expr, const char *end, uint32_t *lsigcnt, unsigned int *cnt, uint64_…
H A Dbytecode.h131 …fo *info, const struct cli_all_bc *bcs, unsigned bc_idx, const uint32_t *lsigcnt, const uint32_t *…
H A Dbytecode_priv.h184 uint32_t lsigcnt[64]; member
H A Dmatcher.c830 if (cli_ac_chklsig(exp, exp_end, acdata->lsigcnt[lsid], &evalcnt, &evalids, 0) == 1) { in lsig_eval()
897 …de_runlsig(ctx, target_info, &ctx->engine->bcs, ac_lsig->bc_idx, acdata->lsigcnt[lsid], acdata->ls… in lsig_eval()
910 …de_runlsig(ctx, target_info, &ctx->engine->bcs, ac_lsig->bc_idx, acdata->lsigcnt[lsid], acdata->ls… in lsig_eval()
H A Dbytecode.c2784 const uint32_t *lsigcnt, in cli_bytecode_runlsig() argument
2797 ctx.hooks.match_counts = lsigcnt; in cli_bytecode_runlsig()
2818 memcpy(&ctx.lsigcnt, lsigcnt, 64 * 4); in cli_bytecode_runlsig()
2866 ctx->hooks.match_counts = ctx->lsigcnt; in cli_bytecode_runhook()
H A Dyara_exec.c697 push(acdata->lsigcnt[aclsig->id][string->subsig_id]); in function_read()
H A Dmatcher-byte-comp.c490 …val = cli_ac_chklsig(subsigid, subsigid + strlen(subsigid), mdata->lsigcnt[bcomp->lsigid[1]], &eva… in cli_bcomp_scanbuf()
H A Dmatcher-pcre.c625 …if (cli_ac_chklsig(pm->trigger, pm->trigger + strlen(pm->trigger), mdata->lsigcnt[pm->lsigid[1]], … in cli_pcre_scanbuf()