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

Method Init

view/macho/universalview.cpp:355–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353
354
355bool UniversalView::Init()
356{
357 // Disable analysis modules
358 // TODO: for now Raw and Universal views do this; possibly refactor
359 if (!m_file->IsBackedByDatabase(GetTypeName()))
360 {
361 Settings::Instance()->Set("analysis.linearSweep.autorun", false, this);
362 Settings::Instance()->Set("analysis.signatureMatcher.autorun", false, this);
363 Settings::Instance()->Set("analysis.pointerSweep.autorun", false, this);
364 }
365
366 AddAutoSegment(0, GetParentView()->GetLength(), 0, GetParentView()->GetLength(), SegmentReadable | SegmentWritable);
367 return true;
368}

Callers

nothing calls this directly

Calls 3

IsBackedByDatabaseMethod · 0.80
SetMethod · 0.45
GetLengthMethod · 0.45

Tested by

no test coverage detected