Project

General

Custom queries

Profile

Actions

Task #6266

closed

Task #6262: tracking: reduce stack usage

mpm/ac-bs: reduce stack usage

Added by Victor Julien almost 2 years ago. Updated over 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
#1

Updated by Victor Julien over 1 year ago

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

Updated by Victor Julien over 1 year ago

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

Updated by Victor Julien over 1 year ago

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

Also available in: Atom PDF