Comments (1)
Hey @rak3-sh ! thanks for the issue,
Unfortunately there currently isnt a CodeQL CLI flag to be able to say "one query should timeout after X minutes",
Because we evaluate all of a set of queries in parallel, they all start execution at the same time. However, not all of the queries are worked on most of the time meaning that the timeout flag is about the same as a timeout for the whole analyse call. A hypothetical CPU-time limiting flag would work a bit better but would end up with a similar lack of guarantee (on any individual query) because sharing means it is a bit awkward which query the work can be attributed to. Plus parallelism means that threading makes this weird. Practically most of the time the problem is in a library which means a global timeout is better as it can account for everything (and that is why we prefer to use an Actions level timeout on a job rather than implementing one in the CodeQL CLI)
from codeql-coding-standards.
Related Issues (20)
- `A2-10-1`: False positive around null identifiers on tuple-like types in structural binding (relevant C++17 only)
- Feature Request: Make deviations feature work on custom CodeQL queries as well.
- v2.28.0 causes performance degradation in analysis.
- `A4-7-1`: Guard using "." operator getting ignored
- `A7-1-3`: Triggered on `static_cast`
- `M5-0-8` - `M5-0-9`: Return value of `static_cast` is wrongly considered as a `cvalue`
- `A15-1-3`: Detection of duplicated exceptions on function templates HOT 1
- `M0-1-9`: Wrong dead code detection on function templates HOT 1
- `M0-1-2` - `A3-1-5` - `A4-5-1` - `M0-1-1` : Poor lambda support HOT 1
- `A2-7-3`: Friend functions in template classes do not recognise documentation
- `A7-1-2`: Exclude variables in uninstantiated templates and compiler generated variables
- `A7-1-2`: `constexpr` in templates
- `A3-1-5`: Tweak definition of trivial member function
- `A5-16-1`: Ternary operator not used as a sub expression
- `A3-9-1`: Ignore use of `int` in operator increment/decrement
- `M9-3-3`: Ignore uninstantiated templates
- `Rule 8.3`: Consider anonymous structs and namespaces.
- `M0-1-3`: Exclude uninstantiated variable templates
- `A7-1-1`: Ignore dummy base variable in recursive variable templates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeql-coding-standards.