public override unsafe List <string> DisassembleIntoLines(byte *ptr, int length, __empty config)
    {
        List <string> instructions = new();

        throw new NotImplementedException(); // TODO

        return(instructions);
    }
示例#2
0
 public override unsafe List<string> DisassembleIntoLines(byte* ptr, int length, __empty _) =>
     (length % sizeof(uint)) != 0 ? throw new ArgumentException($"The number of bytes must be divisable by {sizeof(uint)}.", nameof(length))
                                  : Disassemble((uint*) ptr, length / sizeof(uint));