mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
remove debug logging
This commit is contained in:
parent
5724baad41
commit
53225edbfe
@ -121,9 +121,7 @@ public:
|
|||||||
void writeHeader(OutputStream* out) {
|
void writeHeader(OutputStream* out) {
|
||||||
header.NumberOfSections = sectionCount;
|
header.NumberOfSections = sectionCount;
|
||||||
header.PointerToSymbolTable = dataStart + dataOffset;
|
header.PointerToSymbolTable = dataStart + dataOffset;
|
||||||
printf("symbol table start: 0x%x\n", header.PointerToSymbolTable);
|
|
||||||
dataOffset = pad(dataOffset + symbolCount * sizeof(IMAGE_SYMBOL));
|
dataOffset = pad(dataOffset + symbolCount * sizeof(IMAGE_SYMBOL));
|
||||||
printf("string table start: 0x%x\n", dataStart + dataOffset);
|
|
||||||
header.NumberOfSymbols = symbolCount;
|
header.NumberOfSymbols = symbolCount;
|
||||||
out->writeChunk(&header, sizeof(IMAGE_FILE_HEADER));
|
out->writeChunk(&header, sizeof(IMAGE_FILE_HEADER));
|
||||||
}
|
}
|
||||||
@ -188,7 +186,6 @@ public:
|
|||||||
|
|
||||||
void writeHeader(OutputStream* out) {
|
void writeHeader(OutputStream* out) {
|
||||||
header.PointerToRawData = dataOffset + file.dataStart;
|
header.PointerToRawData = dataOffset + file.dataStart;
|
||||||
printf("section %s: data at 0x%x, ending at 0x%x\n", header.Name, header.PointerToRawData, header.PointerToRawData + header.SizeOfRawData);
|
|
||||||
out->writeChunk(&header, sizeof(IMAGE_SECTION_HEADER));
|
out->writeChunk(&header, sizeof(IMAGE_SECTION_HEADER));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user