Actions
Task #6266
closedTask #6262: tracking: reduce stack usage
mpm/ac-bs: reduce stack usage
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));
Actions