Lines Matching refs:addr
44 uint64_t addr,
62 uint64_t addr; member
107 uint64_t addr, in zend_jit_disasm_add_symbol() argument
117 sym->addr = addr; in zend_jit_disasm_add_symbol()
118 sym->end = (addr + size - 1); in zend_jit_disasm_add_symbol()
127 if (sym->addr > node->addr) { in zend_jit_disasm_add_symbol()
128 ZEND_ASSERT(sym->addr > (node->end)); in zend_jit_disasm_add_symbol()
136 } else if (sym->addr < node->addr) { in zend_jit_disasm_add_symbol()
145 ZEND_ASSERT(sym->addr == node->addr); in zend_jit_disasm_add_symbol()
209 static const char* zend_jit_disasm_find_symbol(uint64_t addr, in zend_jit_disasm_find_symbol() argument
213 if (addr < node->addr) { in zend_jit_disasm_find_symbol()
215 } else if (addr > node->end) { in zend_jit_disasm_find_symbol()
218 *offset = addr - node->addr; in zend_jit_disasm_find_symbol()
257 uint64_t addr, in zend_jit_disasm_resolver() argument
265 void *a = (void*)(zend_uintptr_t)(addr); in zend_jit_disasm_resolver()
268 name = zend_jit_disasm_find_symbol(addr, offset); in zend_jit_disasm_resolver()
280 name = zend_jit_disasm_find_symbol(addr, offset); in zend_jit_disasm_resolver()
305 uint64_t addr; local
375 addr = (uint64_t)(uintptr_t)op_array->opcodes[cfg->blocks[b].start].handler;
376 if (addr >= (uint64_t)(uintptr_t)start && addr < (uint64_t)(uintptr_t)end) {
377 zend_hash_index_add(&labels, addr, &zv);
390 if ((addr = zend_jit_disasm_branch_target(cs, insn))) {
394 if ((addr = zend_jit_disasm_branch_target(cs, &(insn[i])))) {
396 if (addr >= (uint64_t)(uintptr_t)start && addr < (uint64_t)(uintptr_t)end) {
397 zend_hash_index_add(&labels, addr, &zv);
406 addr = ud_syn_rel_target(&ud, (struct ud_operand*)op);
407 if (addr >= (uint64_t)(uintptr_t)start && addr < (uint64_t)(uintptr_t)end) {
408 zend_hash_index_add(&labels, addr, &zv);
464 addr = 0;
467 addr = addr * 16 + (*r - '0');
469 addr = addr * 16 + (*r - 'A' + 10);
471 addr = addr * 16 + (*r - 'a' + 10);
477 if (addr >= (uint64_t)(uintptr_t)start && addr < (uint64_t)(uintptr_t)end) {
478 if ((z = zend_hash_index_find(&labels, addr))) {
489 } else if ((sym = zend_jit_disasm_resolver(addr, &offset))) {
520 addr = ud_insn_off(&ud);
521 z = zend_hash_index_find(&labels, addr);
531 addr = ud_syn_rel_target(&ud, (struct ud_operand*)op);
532 if (addr >= (uint64_t)(uintptr_t)start && addr < (uint64_t)(uintptr_t)end) {
533 z = zend_hash_index_find(&labels, addr);