awslabs / ar-go-tools

ar-go-tools (Argot) is a collection of analysis tools for Go
Apache License 2.0
25 stars 1 forks source link

Avoid scanning dependencies for annotations #102

Open victornicolet opened 1 month ago

victornicolet commented 1 month ago

Code annotations are loaded by scanning the syntax of all packages, including dependencies but standard library excluded. This may cause problems if the dependencies contain annotations that conflict with the annotations of the code to be analyzed. We need to find a way to exclude all or some dependencies.

However, this is likely not a problem early on. Users can also define analysis problems with unique tags to avoid any conflict with dependencies' annotations.