vfs: check userland buffers before reading them.
[haiku.git] / headers / private / debugger / model / TeamFunctionSourceInformation.h
blob3c649a75a0d87559ca1987c59dc8ea16bf17215a
1 /*
2 * Copyright 2016, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef TEAM_FUNCTION_SOURCE_INFORMATION_H
6 #define TEAM_FUNCTION_SOURCE_INFORMATION_H
9 #include <SupportDefs.h>
11 class FunctionDebugInfo;
12 class SourceCode;
15 class TeamFunctionSourceInformation {
16 public:
17 virtual ~TeamFunctionSourceInformation();
19 virtual status_t GetActiveSourceCode(FunctionDebugInfo* info,
20 SourceCode*& _code) = 0;
21 // returns reference
25 #endif // TEAM_FUNCTION_SOURCE_INFORMATION_H