search for: bytes_a

Displaying 1 result from an estimated 1 matches for "bytes_a".

Did you mean: bytes_s
2018 Apr 03
0
Problems using LLVM as a disassembler.
...DecodeAsmX86_64::TheTarget = llvm::TargetRegistry::lookupTarget(TripleName, Error); if (!TheTarget) return 1; ... // Set up disassembler. DisAsm = TheTarget->createMCDisassembler(*STI, *Ctx); if (!DisAsm) return 1; ... // S = DisAsm->getInstruction(*Inst, Size, Bytes_A, PC, // /*REMOVE*/ nulls(), nulls()); // Latest LLVM messes up with the PC set to anything other than zero S = DisAsm->getInstruction(*Inst, Size, Bytes_A, 0, /*REMOVE*/ nulls(), nulls());