Language-Specific Analysis Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering CodeQL Advanced Topics

What you'll be asked

  1. Which CodeQL library is primarily used to model data flow in Java applications?
  2. In CodeQL for C/C++, why is it important to use 'DataFlow::Configuration' or the newer 'DataFlow::Global' modules instead of simple AST traversal?
  3. When writing a CodeQL query for JavaScript, which predicate is commonly used to identify a 'source' in a Taint Tracking configuration?
  4. What is the primary purpose of a 'Barrier' or 'Sanitizer' in a CodeQL Taint Tracking query?
  5. When analyzing C++ code, how does CodeQL handle 'macro expansion' during the creation of the database?

Answers and explanations come after you submit.