Ghidra Decompiler Analysis Engine
typegrp_ghidra.hh
Go to the documentation of this file.
1 /* ###
2  * IP: GHIDRA
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
18 
19 #ifndef __TYPEGRP_GHIDRA__
20 #define __TYPEGRP_GHIDRA__
21 
22 #include "type.hh"
23 #include "ghidra_arch.hh"
24 
31 protected:
32  virtual Datatype *findById(const string &n,uint8 id);
33 public:
35  virtual ~TypeFactoryGhidra(void) {}
36 };
37 
38 #endif
ghidra_arch.hh
Ghidra specific architecture information and connection to a Ghidra client.
TypeFactoryGhidra::findById
virtual Datatype * findById(const string &n, uint8 id)
Search by name and id.
Definition: typegrp_ghidra.cc:19
TypeFactoryGhidra
An implementation of the TypeFactory interface, query a Ghidra client for data-type information.
Definition: typegrp_ghidra.hh:30
TypeFactory::TypeFactory
TypeFactory(Architecture *g)
Construct a factory.
Definition: type.cc:1470
Datatype
The base datatype class for the decompiler.
Definition: type.hh:62
TypeFactory
Container class for all Datatype objects in an Architecture.
Definition: type.hh:396
type.hh
Classes for describing and printing data-types.
ArchitectureGhidra
An implementation of the Architecture interface and connection to a Ghidra client.
Definition: ghidra_arch.hh:60