Lines Matching refs:cfa
483 static bool get_old_register_value(const memory_t* memory, uint32_t cfa,
495 ALOGV("get_old_register_value: adjusting esp to CFA: 0x%x", cfa);
496 newstate->reg[reg] = cfa;
502 addr = cfa + (int32_t)dstate->regs[reg].value;
527 uintptr_t cfa = 0;
529 cfa = state->reg[DWARF_ESP] + dstate->cfa_off;
531 cfa = state->reg[DWARF_EBP] + dstate->cfa_off;
536 ALOGV("update_state: new CFA: 0x%x", cfa);
538 if (!get_old_register_value(memory, cfa, dstate, DWARF_EIP, state, &newstate)) return false;
540 if (!get_old_register_value(memory, cfa, dstate, DWARF_EBP, state, &newstate)) return false;
542 if (!get_old_register_value(memory, cfa, dstate, DWARF_ESP, state, &newstate)) return false;