mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-24 23:48:39 +00:00
We should check for maximum stack use (OSX only supports up to 512kB by default thread stack size)
This commit is contained in:
parent
9f790d4dbd
commit
0c42be9fb9
@ -123,6 +123,12 @@ CFLAGS += -ftrapv
|
|||||||
#CFLAGS += -Wsign-conversion
|
#CFLAGS += -Wsign-conversion
|
||||||
#CFLAGS += -pedantic
|
#CFLAGS += -pedantic
|
||||||
|
|
||||||
|
# default linux and freebsd thread stack size is 2MB
|
||||||
|
# default windows thread stack size is 1MB
|
||||||
|
# default OSX thread stack size is 512kB
|
||||||
|
|
||||||
|
CFLAGS += -Wstack-usage=524288
|
||||||
|
|
||||||
LFLAGS :=
|
LFLAGS :=
|
||||||
|
|
||||||
ifndef DEBUG
|
ifndef DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user