Q: Which of the following is one of the limitations of static analysis?
-
A
Tests can be conducted without running programs
-
B
The code being tested doesn't have to be fully functional
-
C
Design flaws are also detectable
-
D
Predefined signatures are necessary to detect a bug
D
Answer:
D
Explanation:
One of the limitations of static analysis is that predefined signatures are often necessary to detect specific bugs. Static analysis tools analyze the source code without executing it, but they rely on known patterns or signatures to identify issues such as security vulnerabilities or bugs. While this approach can detect many problems, it can also miss new or unknown vulnerabilities that do not fit predefined signatures. Static analysis is great for identifying certain types of errors in the code, but it is limited by the rules and patterns it can recognize. Other limitations include difficulty in detecting issues related to runtime behavior, such as memory management errors or concurrency problems.
Related Topic:
Share Above MCQ