Project

General

Profile

Actions

Task #6266

closed

Task #6262: tracking: reduce stack usage

mpm/ac-bs: reduce stack usage

Added by Victor Julien over 1 year ago. Updated about 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Effort:
Difficulty:
Label:

Description

As #6263, but for ac-bs. Key is this

#define STATE_QUEUE_CONTAINER_SIZE 65536

typedef struct StateQueue_ {
    int32_t store[STATE_QUEUE_CONTAINER_SIZE];
    int top;
    int bot;
} StateQueue;

static inline void SCACBSCreateFailureTable(MpmCtx *mpm_ctx)
{
    ...
    StateQueue q;
    memset(&q, 0, sizeof(StateQueue));


Related issues 1 (0 open1 closed)

Related to Suricata - Task #6586: mpm/ac-bs: remove implementationClosedVictor JulienActions
Actions #1

Updated by Victor Julien about 1 year ago

  • Status changed from New to Assigned
  • Assignee changed from OISF Dev to Victor Julien

If we accept #6586 we can close this.

Actions #2

Updated by Victor Julien about 1 year ago

  • Related to Task #6586: mpm/ac-bs: remove implementation added
Actions #3

Updated by Victor Julien about 1 year ago

  • Status changed from Assigned to Rejected
  • Assignee deleted (Victor Julien)
  • Target version deleted (TBD)

Matcher implementation has been removed, see #6586

Actions

Also available in: Atom PDF