diff --git a/src/base/SMPFunction.cpp b/src/base/SMPFunction.cpp index 00bd3f844ad15ca7e2609fa2e1434e53b59d9d1d..80a4a2e8874364dcc10db644a207c764b80fe268 100644 --- a/src/base/SMPFunction.cpp +++ b/src/base/SMPFunction.cpp @@ -8208,7 +8208,8 @@ void SMPFunction::EmitAnnotations(FILE *AnnotFile, FILE *InfoAnnotFile) { if (this->IsLeaf()) SMP_fprintf(AnnotFile, "FUNC_LEAF "); // Store the first return instruction's address - SMP_fprintf(AnnotFile,"%10lx ", (unsigned long) (this->FuncInfo->get_endEA() - 1)); + // NOTE: This was useless info and we just print an address to keep the line format the same for easy parsing. + SMP_fprintf(AnnotFile,"%10lx ", (unsigned long) (this->FuncInfo->get_startEA() + this->FuncInfo->GetFuncSize() - 1)); if (this->IsLibFunc()) SMP_fprintf(AnnotFile, "LIBRARY ");