MCPcopy Create free account
hub / github.com/NtQuery/Scylla / setDefaultFileAlignment

Method setDefaultFileAlignment

Scylla/PeParser.cpp:1039–1049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1037}
1038
1039void PeParser::setDefaultFileAlignment()
1040{
1041 if (isPE32())
1042 {
1043 pNTHeader32->OptionalHeader.FileAlignment = FileAlignmentConstant;
1044 }
1045 else
1046 {
1047 pNTHeader64->OptionalHeader.FileAlignment = FileAlignmentConstant;
1048 }
1049}
1050
1051bool PeFileSectionSortByPointerToRawData(const PeFileSection& d1, const PeFileSection& d2)
1052{

Callers 2

ScyllaRebuildFileWFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected