dextool.plugin.ctestdouble.backend.global

Members

Functions

filterMutable
auto filterMutable(RangeT range, Container container)
Undocumented in source. Be warned that the author may not have intended to support it.
generateGlobalExterns
void generateGlobalExterns(RangeT range, CppModule impl, Container container)
Undocumented in source. Be warned that the author may not have intended to support it.
generateInitGlobalsToZero
void generateInitGlobalsToZero(CppClass c, CppModule impl, StubPrefix prefix, LookupGlobalT lookup)

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

makeGlobalInterface
CppClass makeGlobalInterface(RangeT range, CppClassName main_if)

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

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

The range must NOT contain any const globals.

resolveTypedef
TypeKind resolveTypedef(TypeKind type, Container container)

Recursive lookup until the underlying type is found.

variableToString
string variableToString(CppVariable name, TypeKindAttr type)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

MutableGlobal
struct MutableGlobal
Undocumented in source.

Meta

License

MPL-2

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/.