Exemple #1
0
 void TestFormattingWithDefaultFormatterCtor2() => FormatterTestUtils.TestFormatterDoesNotThrow(new NasmFormatter((ISymbolResolver)null));
Exemple #2
0
 void TestFormattingWithDefaultFormatterCtor() => FormatterTestUtils.TestFormatterDoesNotThrow(new NasmFormatter());
Exemple #3
0
 protected void FormatBase(int index, Instruction instruction, string formattedString, FastFormatter formatter) =>
 FormatterTestUtils.FormatTest(instruction, formattedString, formatter);
Exemple #4
0
 protected void FormatBase(int index, InstructionInfo info, string formattedString, FastFormatter formatter) =>
 FormatterTestUtils.FormatTest(info.Bitness, info.HexBytes, info.IP, info.Code, info.Options, formattedString, formatter);
Exemple #5
0
 protected void FormatBase(int index, OptionsInstructionInfo info, string formattedString, Formatter formatter)
 {
     info.Initialize(formatter.Options);
     FormatterTestUtils.SimpleFormatTest(info.Bitness, info.HexBytes, info.Code, DecoderOptions.None, formattedString, formatter, decoder => info.Initialize(decoder));
 }