GTIRB
v2.2.0
GrammaTech Intermediate Representation for Binaries
|
A Symbol maps a name to an object in the IR.
The corresponding Protobuf message type is Symbol
.
The guaranteed functionality is provided as follows.
Language | Symbol Class |
---|---|
C++ | gtirb::Symbol |
Python | gtirb.Symbol |
Common Lisp | symbol |
Language | Get name | Set name |
---|---|---|
C++ | gtirb::Symbol::getName() | gtirb::Symbol::setName() |
Python | read gtirb.Symbol.name | write gtirb.Symbol.name |
Common Lisp | name (obj symbol) => result | (setf (name (obj symbol)) new) |
Language | Get optional_payload | Set optional_payload |
---|---|---|
C++ | gtirb::Symbol::getAddress, gtirb::Symbol::getReferent() | gtirb::Symbol::setAddress(), gtirb::Symbol::setReferent() |
Python | read gtirb.Symbol.referent or gtirb.Symbol.value | write gtirb.Symbol.referent or gtirb.Symbol.value |
Common Lisp | payload symbol => result | (setf (payload symbol) new) |
Language | Associated Module |
---|---|
C++ | gtirb::Symbol::getModule() |
Python | gtirb.Symbol.module |
Common Lisp | module (object symbol) => result |