CodeQL library for C/C++
codeql/cpp-all 1.1.0 (changelog, source)
Search

Predicate allocateDescriptorCall

A call to the Unix system function socket(2).

Import path

import semmle.code.cpp.pointsto.PointsTo
predicate allocateDescriptorCall(FunctionCall fc)