dextool.plugin.ctestdouble.backend.global

Members

Functions

generateInitGlobalsToZero
void generateInitGlobalsToZero(ref CppClass c, CppModule impl, const StubPrefix prefix, LookupGlobalT lookup)

Generate an implementation of InitGlobal that initialize all globals to zero.

makeGlobalInterface
CppClass makeGlobalInterface(RangeT range, const CppClassName main_if)

Make a C++ "interface" class of all mutable globals.

makeZeroGlobal
CppClass makeZeroGlobal(RangeT range, const CppClassName main_if, const StubPrefix prefix, CppInherit inherit)

The range must NOT contain any const globals.

resolveTypedef
TypeKind resolveTypedef(TypeKind type, const ref Container container)

Recursive lookup until the underlying type is found.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

License

MPL-2