mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Crypto: Updating java 'location' information to be just a location's toString to be more verbose/precise.
This commit is contained in:
@@ -30,7 +30,7 @@ module CryptoInput implements InputSig<Language::Location> {
|
|||||||
class UnknownLocation = UnknownDefaultLocation;
|
class UnknownLocation = UnknownDefaultLocation;
|
||||||
|
|
||||||
string locationToFileBaseNameAndLineNumberString(Location location) {
|
string locationToFileBaseNameAndLineNumberString(Location location) {
|
||||||
result = location.getFile().getBaseName() + ":" + location.getStartLine()
|
result = location.toString()
|
||||||
}
|
}
|
||||||
|
|
||||||
LocatableElement dfn_to_element(DataFlow::Node node) {
|
LocatableElement dfn_to_element(DataFlow::Node node) {
|
||||||
|
|||||||
Reference in New Issue
Block a user