vfs: check userland buffers before reading them.
[haiku.git] / src / bin / debug / debug_utils.h
blobb4c4f67f9ecbaf85f799f9cb597311ee8c1c96f6
1 /*
2 * Copyright 2005-2008, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef BIN_DEBUG_DEBUG_UTILS_H
6 #define BIN_DEBUG_DEBUG_UTILS_H
8 #include <OS.h>
11 thread_id load_program(const char* const* args, int32 argCount,
12 bool traceLoading);
14 status_t set_team_debugging_flags(port_id nubPort, int32 flags);
15 status_t set_thread_debugging_flags(port_id nubPort, thread_id thread,
16 int32 flags);
17 status_t continue_thread(port_id nubPort, thread_id thread);
20 #endif // BIN_DEBUG_DEBUG_UTILS_H