CodeQL library for C/C++
codeql/cpp-all 0.12.9 (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)