Skip to content

Commit

Permalink
Fix function names retrieval for particular section in PR created by …
Browse files Browse the repository at this point in the history
…clang-win
  • Loading branch information
apolukhin committed Dec 19, 2024
1 parent e6304f4 commit 15d8fb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/boost/dll/detail/pe_info.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@ class pe_info {
// getting ordinal
fs.seekg(fixed_ordinals_addr + i * sizeof(ordinal));
read_raw(fs, ordinal);
if (ordinal >= exported_symbols) { // required for clang-win created PE
continue;
}

// getting function addr
fs.seekg(fixed_functions_addr + ordinal * sizeof(ptr));
Expand Down

0 comments on commit 15d8fb4

Please sign in to comment.