Skip to content

Commit

Permalink
fix a bug in results_dumper.cpp (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
ya0guang authored Apr 3, 2024
1 parent 3f696a8 commit 0103753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postprocessors/results_dumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ bool pesieve::ResultsDumper::dumpModule(IN HANDLE processHandle,
curr_dump_mode = peconv::PE_DUMP_VIRTUAL;
}
modDumpReport->mode_info = get_dump_mode_name(curr_dump_mode);
bool iat_not_rebuilt = (imprec_res == ImpReconstructor::IMP_RECOVERY_ERROR) || (imprec_res = ImpReconstructor::IMP_RECOVERY_NOT_APPLICABLE);
bool iat_not_rebuilt = (imprec_res == ImpReconstructor::IMP_RECOVERY_ERROR) || (imprec_res == ImpReconstructor::IMP_RECOVERY_NOT_APPLICABLE);
if (iat_not_rebuilt || save_imp_report) {
std::string imports_file = modDumpReport->dumpFileName + ".imports.txt";
if (impRec.printFoundIATs(imports_file)) {
Expand Down

0 comments on commit 0103753

Please sign in to comment.