Class SsaExplicitDefinition
An SSA definition that corresponds to an explicit assignment or other variable definition.
Import path
import semmle.go.dataflow.SSADirect supertypes
Indirect supertypes
Predicates
| getInstruction | Gets the instruction where the definition happens. |
| getKind | INTERNAL: Do not use. |
| getRhs | Gets the right-hand side of the definition. |
Inherited predicates
| definesAt | Holds if this SSA definition defines | from Definition |
| getAFirstUse | Gets the first instruction that the value of this | from SsaDefinition |
| getBasicBlock | Gets the basic block to which this SSA definition belongs. | from Definition |
| getLocation | Gets the location of this SSA definition. | from Definition |
| getRoot | Gets the innermost function or file to which this SSA definition belongs. | from SsaDefinition |
| getSourceVariable | Gets the source variable underlying this SSA definition. | from Definition |
| getVariable | Gets the SSA variable defined by this definition. | from SsaDefinition |
| hasLocationInfo | DEPRECATED: Use | from SsaDefinition |
| toString | Gets a textual representation of this SSA definition. | from Definition |