MCPcopy Create free account
hub / github.com/KasperskyLab/hrtng / visit_expr

Function visit_expr

src/appcall.cpp:123–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
139static cexpr_t * findCall(cfunc_t* func, const ea_t callea, const ea_t calldstea)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected