Skip to main content
The AnnotateGlobal object is used to annotate a global variable at a specific address.

Fields

FieldDescriptionType
locationAddress of the variableAddressValue
declarationVariable declarationstring

Reference

location

The address (AddressValue) where the global variable is defined.

declaration

The global variable declaration as a string.

Example

evidence = {
  functions = {
    [context.address] = {
      annotate:global{
        location = <AddressValue>,
        declaration = "int g_var"
      }
    }
  }
}