MCPcopy Create free account
hub / github.com/OFFTKP/felix86 / ZydisEncoderEncodeInstruction

Function ZydisEncoderEncodeInstruction

external/zydis/src/Encoder.c:4330–4341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4328/* ============================================================================================== */
4329
4330ZYDIS_EXPORT ZyanStatus ZydisEncoderEncodeInstruction(const ZydisEncoderRequest *request,
4331 void *buffer, ZyanUSize *length)
4332{
4333 if (!request || !buffer || !length)
4334 {
4335 return ZYAN_STATUS_INVALID_ARGUMENT;
4336 }
4337 ZYAN_CHECK(ZydisEncoderCheckRequestSanity(request));
4338
4339 ZydisEncoderInstruction instruction;
4340 return ZydisEncoderEncodeInstructionInternal(request, buffer, length, &instruction);
4341}
4342
4343ZYDIS_EXPORT ZyanStatus ZydisEncoderEncodeInstructionAbsolute(ZydisEncoderRequest *request,
4344 void *buffer, ZyanUSize *length, ZyanU64 runtime_address)

Callers 7

PrintSizeOptimizedFormFunction · 0.85
ZydisFuzzTargetFunction · 0.85
RunTestFunction · 0.85
ZydisReEncodeInstructionFunction · 0.85
mainFunction · 0.85
AppendInstructionFunction · 0.85
mainFunction · 0.85

Tested by 1

RunTestFunction · 0.68