public override unsafe List <string> DisassembleIntoLines(byte *ptr, int length, __empty config) { List <string> instructions = new(); throw new NotImplementedException(); // TODO return(instructions); }
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));