DysfunctionaI
DysfunctionaI
[IMAGE_OPTIONAL_HEADER](https://github.com/dotnet/pinvoke/blob/master/src/Windows.Core/IMAGE_OPTIONAL_HEADER.cs) The layout difference between 32 and 64 bit images can't be fixed with UIntPtr. 64bit images don't have the BaseOfData field, and possibly other things that make the "sequential"...
[https://github.com/spazzarama/SharpDisasm/blob/ee3af3d8aaec755208aa6782aa0eae51fd90165b/SharpDisasm/Udis86/syn.cs](url) Line 130: ` Array.Copy(str, 0, u.asm_buf, u.asm_buf_fill, Math.Min(str.Length, avail)); ` Should be: `Array.Copy(str, 0, u.asm_buf, u.asm_buf_fill, Math.Min(str.Length, avail));` `u.asm_buf[u.asm_buf_fill + str.Length] = '\0';` With the null terminator added correctly,...