- NODE PROPERTIES:
â–¸ Hash (String); Cardinality ZeroOrOne
(optional); This property contains a hash value in the form of a string. Hashes can be used to summarize data, e.g., to summarize the contents of source files or sub graphs. Such summaries are useful to determine whether code has already been analyzed in incremental analysis pipelines. This property is optional to allow its calculation to be deferred or skipped if the hash is not needed.
â–¸ Language (String); Cardinality one
(mandatory with default value <empty>
); This field indicates which CPG language frontend generated the CPG. Frontend developers may freely choose a value that describes their frontend so long as it is not used by an existing frontend. Reserved values are to date: C, LLVM, GHIDRA, PHP.
â–¸ Overlays (String); Cardinality List
(many); The field contains the names of the overlays applied to this CPG, in order of their application. Names are free-form strings, that is, this specification does not dictate them but rather requires tool producers and consumers to communicate them between each other.
â–¸ Root (String); Cardinality one
(mandatory with default value <empty>
); The path to the root directory of the source/binary this CPG is generated from.
â–¸ Version (String); Cardinality one
(mandatory with default value <empty>
); A version, given as a string. Used, for example, in the META_DATA node to indicate which version of the CPG spec this CPG conforms to
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait MetaDataBaseclass StoredNodetrait AbstractNodetrait Producttrait Equalstrait StaticType[MetaDataEMT]class GNodetrait DNodeOrNodeclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
-
Equals
Attributes
- Definition Classes
-
Product
Attributes
- Definition Classes
-
Product
Attributes
- Definition Classes
-
Product
Attributes
- Definition Classes
-
Product
Inherited methods
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- GNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Attributes
- Inherited from:
- StoredNode
Calculates a hash code value for the object.
Calculates a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
. However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals
method.
Attributes
- Returns
-
the hash code value for this object.
- Inherited from:
- GNode
Attributes
- Inherited from:
- GNode
Attributes
- Inherited from:
- GNode
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- AbstractNode
TODO deprecate and phase out
Attributes
- Inherited from:
- GNode
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Inherited from:
- GNode