vfs: check userland buffers before reading them.
[haiku.git] / headers / private / debugger / debug_info / ImageDebugInfoProvider.h
blob4763a1556e8d6d92f24e869f6eec74a06c95e0ad
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef IMAGE_DEBUG_INFO_PROVIDER_H
6 #define IMAGE_DEBUG_INFO_PROVIDER_H
8 #include <SupportDefs.h>
11 class Image;
12 class ImageDebugInfo;
15 class ImageDebugInfoProvider {
16 public:
17 virtual ~ImageDebugInfoProvider();
19 virtual status_t GetImageDebugInfo(Image* image,
20 ImageDebugInfo*& _info) = 0;
21 // returns a reference
25 #endif // IMAGE_DEBUG_INFO_PROVIDER_H