Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix the build
  • Loading branch information
adamsitnik authored and Nathan Ricci committed Oct 11, 2022
commit 8fc1f031a9e6b5cbb721111ceea3cf64541be992
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ internal static string BuildDisassemblyString(DisassemblyResult disassemblyResul
{
checked
{
totalSizeInBytes += (uint)asm.Instruction.Length;
totalSizeInBytes += (uint)asm.InstructionLength;
}

sb.AppendLine($" {element.TextRepresentation()}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public static IConfig Create(
private static DisassemblyDiagnoser CreateDisassembler()
=> new DisassemblyDiagnoser(new DisassemblyDiagnoserConfig(
maxDepth: 1, // TODO: is depth == 1 enough?
formatter: null, // TODO: enable diffable format
syntax: DisassemblySyntax.Masm, // TODO: enable diffable format
printSource: false, // we are not interested in getting C#
printInstructionAddresses: false, // would make the diffing hard, however could be useful to determine alignment
exportGithubMarkdown: false,
Expand Down