Interface SleighPcodeUseropDefinition.BodyFunc

Enclosing interface:
SleighPcodeUseropDefinition<T>

public static interface SleighPcodeUseropDefinition.BodyFunc NEW
A function body, as it depends on the given arguments
  • Method Summary

    Change
    Modifier and Type
    Method
    Description
    Generate the body, given the arguments
  • Method Details

    • generate

      CharSequence generate(List<Varnode> args)
      Generate the body, given the arguments

      In general, to refer to an argument, the source can use the corresponding parameter by name. Ideally, this is always the case, and the generated source does not depend on the arguments. Where it's useful to have the varnode, for example, is when the size of the argument needs to be known. In this case, the argument can be retrieved by index, where 0 is the output varnode, and 1-n is each respective input varnode.

      Parameters:
      args - the varnode argument list
      Returns:
      the generated source