mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 04:05:06 +00:00
Do not compute asm.stackptr when not requested, fixes slow disasm issue
This commit is contained in:
parent
08f3b768d1
commit
364396f978
@ -55,7 +55,11 @@ static int _stackptr_range(RDisasmState *ds, ut64 addr, ut64 addr_end, int stack
|
||||
}
|
||||
return stackptr;
|
||||
}
|
||||
|
||||
static int ds_ostackptr_atfcn(RDisasmState *ds, int *ostackptr) {
|
||||
if (!ds->show_stackptr) {
|
||||
return 0;
|
||||
}
|
||||
#if USE_BB_LINEAR
|
||||
if (ds->at >= ds->fcn->addr) {
|
||||
return _stackptr_range (ds, ds->fcn->addr, ds->at, 0, ostackptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user