You've already forked linux-packaging-mono
Imported Upstream version 6.6.0.89
Former-commit-id: b39a328747c2f3414dc52e009fb6f0aa80ca2492
This commit is contained in:
parent
cf815e07e0
commit
95fdb59ea6
2
external/cecil/Mono.Cecil.PE/ImageReader.cs
vendored
2
external/cecil/Mono.Cecil.PE/ImageReader.cs
vendored
@@ -350,7 +350,7 @@ namespace Mono.Cecil.PE {
|
||||
PointerToRawData = ReadInt32 (),
|
||||
};
|
||||
|
||||
if (directory.AddressOfRawData == 0) {
|
||||
if (directory.PointerToRawData == 0) {
|
||||
entries [i] = new ImageDebugHeaderEntry (directory, Empty<byte>.Array);
|
||||
continue;
|
||||
}
|
||||
|
||||
8
external/cecil/Mono.Cecil.PE/ImageWriter.cs
vendored
8
external/cecil/Mono.Cecil.PE/ImageWriter.cs
vendored
@@ -814,14 +814,6 @@ namespace Mono.Cecil.PE {
|
||||
return pe_header_size + SizeOfOptionalHeader () + (sections * section_header_size);
|
||||
}
|
||||
|
||||
public void PatchMvid (Guid guid)
|
||||
{
|
||||
uint offset = GetRVAFileOffset (text, text_map.GetRVA (TextSegment.GuidHeap));
|
||||
BaseStream.Seek (offset, SeekOrigin.Begin);
|
||||
var arr = guid.ToByteArray ();
|
||||
BaseStream.Write (arr, 0, arr.Length);
|
||||
}
|
||||
|
||||
void PatchWin32Resources (ByteBuffer resources)
|
||||
{
|
||||
PatchResourceDirectoryTable (resources);
|
||||
|
||||
Reference in New Issue
Block a user