Skip to content
Denis Kuzmin [ github.com/3F ] edited this page Sep 8, 2018 · 2 revisions

To check export

Our modern tool provides an automatic checking to avoid some errors like this: https://github.com/3F/DllExport/issues/59

You can control this in Wizard or via $(DllExportPeCheck) property:

PE Check IL code

  • PE Check 1:1 0x01 bit - Will check count of all planned exports from final PE32/PE32+ module.
  • PE Check IL code 0x02 bit - Will check existence of all planned exports (IL code) in actual PE32/PE32+ module.

This ensures that you get exactly what you are planning in your code!

List of exported

If you need access to final list of exported functions, try this:

DllExport Manager:

-pe-exp-list {module} - To list all available exports from PE32/PE32+ module.

Sample:

DllExport -pe-exp-list bin\Debug\regXwild.dll

dllexport_peviewer

To get each function via batch scripts, try to use something like this:

@echo off

for /f "usebackq delims= " %%a in (`DllExport -pe-exp-list bin\Debug\UnLib.dll`) do (
    echo "%%a"
)
...
"@get_SevenFastCall@0"
"ADDR_SPEC"
"GetMagicNum"
"_get_SevenStdCall@0"
"apiprefix_GFlag"
...
You can’t perform that action at this time.