vfs: check userland buffers before reading them.
[haiku.git] / src / kits / debugger / model / SymbolInfo.cpp
blob990cef626d9ef684f28abdd1bbc0eb82de84d710
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
6 #include "SymbolInfo.h"
9 SymbolInfo::SymbolInfo()
11 fAddress(0),
12 fSize(0),
13 fType(0),
14 fName()
19 SymbolInfo::SymbolInfo(target_addr_t address, target_size_t size, uint32 type,
20 const BString& name)
22 fAddress(address),
23 fSize(size),
24 fType(type),
25 fName(name)
30 SymbolInfo::~SymbolInfo()
35 void
36 SymbolInfo::SetTo(target_addr_t address, target_size_t size, uint32 type,
37 const BString& name)
39 fAddress = address;
40 fSize = size;
41 fType = type;
42 fName = name;