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

Method Parse

view/pe/peview.cpp:3045–3056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3043
3044
3045Ref<BinaryView> PEViewType::Parse(BinaryView* data)
3046{
3047 try
3048 {
3049 return new PEView(data, true);
3050 }
3051 catch (std::exception& e)
3052 {
3053 m_logger->LogError("%s<BinaryViewType> failed to create view! '%s'", GetName().c_str(), e.what());
3054 return nullptr;
3055 }
3056}
3057
3058
3059bool PEViewType::IsTypeValidForData(BinaryView* data)

Callers

nothing calls this directly

Calls 3

LogErrorMethod · 0.80
c_strMethod · 0.80
whatMethod · 0.45

Tested by

no test coverage detected