| 121 | cexpr_t *call; |
| 122 | appcallable_locator_t(ea_t _dstea): ctree_visitor_t(CV_FAST), dstea(_dstea), call(NULL) {} |
| 123 | int idaapi visit_expr(cexpr_t * e) |
| 124 | { |
| 125 | if(e->op == cot_call) { |
| 126 | cexpr_t *callDst = e->x; |
| 127 | if(callDst->op == cot_obj) { |
| 128 | ea_t ea = callDst->obj_ea; |
| 129 | if (is_mapped(ea) && dstea == ea) { |
| 130 | call = e; |
| 131 | return 1; //stop |
| 132 | } |
| 133 | } |
| 134 | } |
| 135 | return 0; //continue |
| 136 | } |
| 137 | }; |
| 138 | |
| 139 | static cexpr_t * findCall(cfunc_t* func, const ea_t callea, const ea_t calldstea) |
nothing calls this directly
no outgoing calls
no test coverage detected