mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
stack frame size for xtensa functions (#5734)
This commit is contained in:
parent
3de8491858
commit
db1d20c054
@ -76,6 +76,11 @@ static void xtensa_store_op (RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *buf
|
||||
|
||||
static void xtensa_add_op (RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *buf) {
|
||||
op->type = R_ANAL_OP_TYPE_ADD;
|
||||
if ((buf[0] >> 4) && (buf[1] & 0xf) && buf[2] > 0x7f) {
|
||||
op->val = (ut8) ~buf[2] + 1;
|
||||
op->stackop = R_ANAL_STACK_INC;
|
||||
//save stack frame size whenever adding to stack frame
|
||||
}
|
||||
}
|
||||
|
||||
static void xtensa_sub_op (RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *buf) {
|
||||
|
Loading…
Reference in New Issue
Block a user