diff --git a/CHANGELOG.md b/CHANGELOG.md index 74b55174..5361b96d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [0.5.10] - 2021-04-27 + +### Fixed + +- Corrected Identifier's code for Static Field Access + ## [0.5.9] - 2021-04-27 ### Changed diff --git a/VERSION.md b/VERSION.md index 89235c0b..4e69c2a2 100644 --- a/VERSION.md +++ b/VERSION.md @@ -1 +1 @@ -0.5.9 \ No newline at end of file +0.5.10 \ No newline at end of file diff --git a/plume/src/main/kotlin/io/github/plume/oss/passes/graph/BaseCPGPass.kt b/plume/src/main/kotlin/io/github/plume/oss/passes/graph/BaseCPGPass.kt index 808d27cf..d9bbe07e 100644 --- a/plume/src/main/kotlin/io/github/plume/oss/passes/graph/BaseCPGPass.kt +++ b/plume/src/main/kotlin/io/github/plume/oss/passes/graph/BaseCPGPass.kt @@ -897,7 +897,7 @@ class BaseCPGPass(private val g: BriefUnitGraph) { .lineNumber(Option.apply(currentLine)) .columnNumber(Option.apply(currentCol)) .apply { -// LocalCache.getType(clazz.type.toQuotedString())?.let { t -> builder.addEdge(this, t, EVAL_TYPE) } + LocalCache.getType(clazz.type.toQuotedString())?.let { t -> builder.addEdge(this, t, EVAL_TYPE) } } diff --git a/plume/src/test/kotlin/io/github/plume/oss/extractor/BasicExtractorTest.kt b/plume/src/test/kotlin/io/github/plume/oss/extractor/BasicExtractorTest.kt index 8626d781..993f0e7d 100644 --- a/plume/src/test/kotlin/io/github/plume/oss/extractor/BasicExtractorTest.kt +++ b/plume/src/test/kotlin/io/github/plume/oss/extractor/BasicExtractorTest.kt @@ -23,7 +23,7 @@ import io.shiftleft.codepropertygraph.generated.nodes.File as ODBFile class BasicExtractorTest { companion object { private val driver = DriverFactory(GraphDatabase.OVERFLOWDB) as OverflowDbDriver - private val TEST_PATH = "extractor_tests/" + private const val TEST_PATH = "extractor_tests/" private val sep = File.separator private lateinit var extractor: Extractor private lateinit var g: Graph