CS FundamentalsHardProduct-company placement · security
A static analyser marks request parameters as untrusted, follows them through assignments and calls, and warns when one reaches a SQL execute() call without passing through a sanitiser. What is this technique?
- A. Taint analysis
- B. Mutation analysis
- C. Symbolic execution of every path
- D. Abstract syntax tree linting for style
Correct answer: A. Taint analysis
Taint analysis tracks data from sources (user input) to sinks (SQL, shell, HTML output) and reports flows that skip a sanitiser. Mutation analysis evaluates test suites, not data flow.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- Code smells: in system X, adding a new payment type forces small edits in eight classes. In system Y, the class Report is edited for…
- Code reads if account.getBalance() >= amount: account.setBalance(account.getBalance() - amount). Which principle does this break, and what…
- In GRASP, which pattern describes creating a class such as OrderPersistenceService that has no counterpart in the domain, so that domain…
- In a Kubernetes service mesh, each pod runs an extra proxy container beside the application that handles mTLS, retries and metrics for all…
- Match each caching write policy with its behaviour. P. Write-through Q. Write-behind (write-back) R. Write-around 1. Writes go only to the…
- Pull requests A and B each pass CI against main and are merged one after the other, after which main fails to build: A renamed a function…