Home
PE Corrector Online Help
Overview
Introduction
Localizations
System requirements
Limitations of the unregistered version
Registration
Technical support
Where to get the latest version
Quick tour
Example of the PE file correction
Using PE Corrector
Standard mode
Options
Text
Exports
PE Info
Wizard
File selection
Options selection
Entering text
Exports
Summary
Console mode
General Information
Configuration file
Command line format
Examples
Postprocessing report
Copyrights
License
Contacts
Acknowledgements

Configuration file

You can create this file (*.pec) manually or with using Export button on the button bar in standard mode (or Summary wizard page) in PE Corrector.

Configuration file format

[General]
FileName=<path to file for correction> ; specify which file you want to correct (masks with ? and * are supported)
ClearHeader={Yes|No} ; clear binary trash from header
InsertText={Yes|No} ; insert text to header
ClearExports={Yes|No} ; clear functions from export section
ClearSectionNames={Yes|No} ; clear names like .rsrc, .upx0, etc...
StripRelocations={Yes|No} ; to strip or not to strip
OverwriteOriginal={Yes|No} ; Overwrite the original file or create a new one with modified name
HeaderCapacity=<number of bytes> ; size of header
SilentMode={Yes|No} ; report window will not popup
SaveLog={Yes|No} ; save report to log file *.pel

[Text]
<text> ; this text will be inserted into header

[EraseFunctions]
<function1> ; list of functions which will be erased from export section
<function2>
................
<functionN>

Example

[General]
FileName=c:\FILE.EXE
ClearHeader=Yes
InsertText=Yes
ClearExports=Yes
ClearSectionNames=Yes
StripRelocations=No
OverwriteOriginal=Yes
HeaderCapacity=1024
SilentMode=Yes
SaveLog=Yes

[Text]
"Copyright (c) 2003 GigaMind Systems"

[EraseFunctions]
__CppDebugHook
@$xp$17TPerformanceGraph

Created by chm2web html help conversion utility.