My Project
Public Member Functions | Friends | List of all members
InjectParameter Class Reference

An input or output parameter to a p-code injection payload. More...

#include <pcodeinject.hh>

Public Member Functions

 InjectParameter (const string &nm, uint4 sz)
 Constructor.
 
const string & getName (void) const
 Get the parameter name.
 
int4 getIndex (void) const
 Get the assigned index.
 
uint4 getSize (void) const
 Get the size of the parameter in bytes.
 

Friends

class InjectPayload
 

Detailed Description

An input or output parameter to a p-code injection payload.

Within the chunk of p-code being injected, this is a placeholder for Varnodes that serve as inputs or outputs to the chunk, which are filled-in in the context of the injection. For instance, for a call-fixup that injects a user-defined p-code op, the input Varnodes would be substituted with the actual input Varnodes to the user-defined op.


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