| 353 | |
| 354 | |
| 355 | bool 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 | } |
nothing calls this directly
no test coverage detected