Skip to content

Commit

Permalink
fix(utils/memory): Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
skuzzis committed Jan 30, 2025
1 parent fdcc3e5 commit 047b9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/memory_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CMemory FindVirtTable(DynLibUtils::CModule *_this, const std::string_view svTabl
if(svTableName.empty())
return CMemory();

CModule::ModuleSections_t runTimeData = GetSectionByName(".data"), readOnlyData = GetSectionByName(".rdata");
CModule::ModuleSections_t runTimeData = _this->GetSectionByName(".data"), readOnlyData = _this->GetSectionByName(".rdata");
if(!runTimeData.IsSectionValid() || !readOnlyData.IsSectionValid())
return CMemory();

Expand Down

0 comments on commit 047b9d3

Please sign in to comment.