mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-14 00:38:55 +00:00
Lower the anal.depth to 32 on wasm builds (64KB stack size limit)
This commit is contained in:
parent
c9a8d8914d
commit
6baa934f48
@ -3413,7 +3413,11 @@ R_API int r_core_config_init(RCore *core) {
|
||||
|
||||
SETCB ("anal.armthumb", "false", &cb_analarmthumb, "aae computes arm/thumb changes (lot of false positives ahead)");
|
||||
SETCB ("anal.delay", "true", &cb_anal_delay, "enable delay slot analysis if supported by the architecture");
|
||||
#if __wasi__
|
||||
SETICB ("anal.depth", 32, &cb_analdepth, "max depth at code analysis");
|
||||
#else
|
||||
SETICB ("anal.depth", 128, &cb_analdepth, "max depth at code analysis");
|
||||
#endif
|
||||
SETICB ("anal.graph_depth", 256, &cb_analgraphdepth, "max depth for path search");
|
||||
SETICB ("anal.sleep", 0, &cb_analsleep, "sleep N usecs every so often during analysis. Avoid 100% CPU usage");
|
||||
SETCB ("anal.ignbithints", "false", &cb_anal_ignbithints, "ignore the ahb hints (only obey asm.bits)");
|
||||
|
Loading…
Reference in New Issue
Block a user