Skip to content

Commit

Permalink
Allow BPatch_function::findPoint on uninstrumentable functions.
Browse files Browse the repository at this point in the history
findPoint is useful for interprocedural analysis in StackMod, even
if the function passed in is uninstrumentable.
  • Loading branch information
morehouse committed Aug 17, 2016
1 parent dff30ae commit f25e8f7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dyninstAPI/src/BPatch_function.C
Expand Up @@ -602,10 +602,6 @@ BPatch_Vector<BPatch_point*> *BPatch_function::findPoint(

if (!mod->isValid()) return NULL;

// if the function is not instrumentable, we won't find the point
if (!isInstrumentable())
return NULL;

BPatch_Vector<BPatch_point*> *result = new BPatch_Vector<BPatch_point *>;

switch(loc) {
Expand Down

0 comments on commit f25e8f7

Please sign in to comment.