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

Method Parse

view/pe/teview.cpp:341–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341Ref<BinaryView> TEViewType::Parse(BinaryView* bv)
342{
343 try
344 {
345 return new TEView(bv, true);
346 }
347 catch (std::exception& e)
348 {
349 m_logger->LogError("%s<BinaryViewType> failed to create view! '%s'", GetName().c_str(), e.what());
350 return nullptr;
351 }
352}
353
354bool TEViewType::IsTypeValidForData(BinaryView* bv)
355{

Callers

nothing calls this directly

Calls 3

LogErrorMethod · 0.80
c_strMethod · 0.80
whatMethod · 0.45

Tested by

no test coverage detected