vfs: check userland buffers before reading them.
[haiku.git] / src / kits / debugger / debug_info / DwarfImageDebugInfoLoadingState.cpp
blobd372017c873d99ccc6cca2af56df9ec813a2a129
1 /*
2 * Copyright 2014, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
4 */
7 #include "DwarfImageDebugInfoLoadingState.h"
10 DwarfImageDebugInfoLoadingState::DwarfImageDebugInfoLoadingState()
12 SpecificImageDebugInfoLoadingState(),
13 fState()
18 DwarfImageDebugInfoLoadingState::~DwarfImageDebugInfoLoadingState()
23 bool
24 DwarfImageDebugInfoLoadingState::UserInputRequired() const
26 return fState.state == DWARF_FILE_LOADING_STATE_USER_INPUT_NEEDED;