blob: 1e1b193f060c86cd02bf08f523a1c3b1cc6c2bb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright 2020-2021 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
#include "Module.h"
Module::Module(const std::string &name) : m_name(name) {
}
procptr_t Module::baseAddress() const {
const auto iter = m_regions.cbegin();
if (iter != m_regions.cend()) {
return iter->address;
}
return 0;
}
|