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

Method FindAllText

binaryview.cpp:4782–4793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4780
4781
4782bool BinaryView::FindAllText(uint64_t start, uint64_t end, const std::string& data, Ref<DisassemblySettings> settings,
4783 BNFindFlag flags, const FunctionViewType& viewType, const std::function<bool(size_t current, size_t total)>& progress,
4784 const std::function<bool(uint64_t addr, const std::string& match, const LinearDisassemblyLine& line)>&
4785 matchCallback)
4786{
4787 ProgressContext fp;
4788 fp.callback = progress;
4789 MatchCallbackContextForText mc;
4790 mc.func = matchCallback;
4791 return BNFindAllTextWithProgress(m_object, start, end, data.c_str(), settings->GetObject(), flags, viewType.ToAPIObject(), &fp,
4792 ProgressCallback, &mc, MatchCallbackForText);
4793}
4794
4795
4796bool BinaryView::FindAllConstant(uint64_t start, uint64_t end, uint64_t constant, Ref<DisassemblySettings> settings,

Callers

nothing calls this directly

Calls 3

c_strMethod · 0.80
GetObjectMethod · 0.45
ToAPIObjectMethod · 0.45

Tested by

no test coverage detected