MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / LowLevelILInstructionPluginCommandIsValidCallback

Method LowLevelILInstructionPluginCommandIsValidCallback

plugin.cpp:210–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208
209
210bool PluginCommand::LowLevelILInstructionPluginCommandIsValidCallback(
211 void* ctxt, BNBinaryView* view, BNLowLevelILFunction* func, size_t instr)
212{
213 RegisteredLowLevelILInstructionCommand* cmd = (RegisteredLowLevelILInstructionCommand*)ctxt;
214 Ref<BinaryView> viewObject = new BinaryView(BNNewViewReference(view));
215 Ref<LowLevelILFunction> funcObject = new LowLevelILFunction(BNNewLowLevelILFunctionReference(func));
216 LowLevelILInstruction instrObject = funcObject->GetInstruction(instr);
217 return cmd->isValid(viewObject, instrObject);
218}
219
220
221bool PluginCommand::MediumLevelILFunctionPluginCommandIsValidCallback(

Callers

nothing calls this directly

Calls 1

GetInstructionMethod · 0.45

Tested by

no test coverage detected