V-Gears 0
Free Final Fantasy VII engine.
Function Struct Reference

Structure representing a function. More...

#include <Function.h>

Public Member Functions

 Function ()
 Constructor. More...
 
 Function (uint32 start_addr, uint32 end_addr)
 Constructor. More...
 

Public Attributes

uint32 start_addr
 The function starting address. More...
 
uint32 end_addr
 The function ending address. More...
 
uint32 num_instructions
 Number of instructions in the function. More...
 
std::string name
 The name of the function. More...
 
GraphVertex vertex
 The function vertex. More...
 
uint32 num_args
 Number of arguments in the function. More...
 
bool ret_val
 Return value of the function. More...
 
std::string metadata
 Metadata for code generation. More...
 

Detailed Description

Structure representing a function.

Constructor & Destructor Documentation

◆ Function() [1/2]

Function::Function ( )
inline

Constructor.

Required for use with STL, should not be called manually.

◆ Function() [2/2]

Function::Function ( uint32  start_addr,
uint32  end_addr 
)
inline

Constructor.

Parameters
[in]start_addrAddress of the first instruction in the function.
[in]end_addrAddress of the last instruction in the function

Member Data Documentation

◆ end_addr

uint32 Function::end_addr

The function ending address.

◆ metadata

std::string Function::metadata

Metadata for code generation.

◆ name

std::string Function::name

The name of the function.

◆ num_args

uint32 Function::num_args

Number of arguments in the function.

◆ num_instructions

uint32 Function::num_instructions

Number of instructions in the function.

◆ ret_val

bool Function::ret_val

Return value of the function.

◆ start_addr

uint32 Function::start_addr

The function starting address.

◆ vertex

GraphVertex Function::vertex

The function vertex.


The documentation for this struct was generated from the following file: