diff --git a/irdb-libs/ir_builders/fix_calls.cpp b/irdb-libs/ir_builders/fix_calls.cpp index 2e2f97ab5145d599fe2bea13ec0fb1e3df072132..f5d508fa8c4b38f52d6d762e4ccaf9fd443f9f1f 100644 --- a/irdb-libs/ir_builders/fix_calls.cpp +++ b/irdb-libs/ir_builders/fix_calls.cpp @@ -250,6 +250,9 @@ class FixCalls_t : public TransformStep_t +// calls to not the entry of a function likely result +// from ida/rida mis-identification of functions. no need to fix them. +#if 0 assert(cfg->getEntry()); /* if the call instruction isn't to a function entry point */ @@ -259,6 +262,7 @@ class FixCalls_t : public TransformStep_t /* then we need to fix it */ return true; } +#endif /* check the entry block for thunks, etc. */