diff --git a/linking/static/eclipse-paho-mqtt-c/linked-against-eclipse-paho-mqtt-c.yml b/linking/static/eclipse-paho-mqtt-c/linked-against-eclipse-paho-mqtt-c.yml new file mode 100644 index 00000000..e1de19de --- /dev/null +++ b/linking/static/eclipse-paho-mqtt-c/linked-against-eclipse-paho-mqtt-c.yml @@ -0,0 +1,23 @@ +rule: + meta: + name: linked against Eclipse Paho MQTT C + namespace: linking/static/eclipse-paho-mqtt-c + authors: + - jakubjozwiak@google.com + scopes: + static: file + dynamic: file + references: + - https://github.com/eclipse-paho/paho.mqtt.c + examples: + - 80f166e9c0427f055c88c9ee62016a6ba6a938023ff8778f5a0b5f8d7fe7570d + features: + - or: + - string: "mqttasync_mutex error %d" + - string: "mqttclient_mutex error %d" + - string: "mqttcommand_mutex error %d" + - string: "subscribe_mutex error %d" + - string: "MQTT version is 0 in MQTTAsync_connecting" + - string: "Bad MQTT packet, type %d" + - string: "memory allocation error in MQTTStrdup" + - string: "Error from MQTTProperties add %d" diff --git a/linking/static/qmqtt/linked-against-qmqtt.yml b/linking/static/qmqtt/linked-against-qmqtt.yml new file mode 100644 index 00000000..8393df88 --- /dev/null +++ b/linking/static/qmqtt/linked-against-qmqtt.yml @@ -0,0 +1,27 @@ +rule: + meta: + name: linked against QMQTT + namespace: linking/static/qmqtt + authors: + - jakubjozwiak@google.com + scopes: + static: file + dynamic: file + references: + - https://github.com/emqx/qmqtt + examples: + - 96abcbcb4aec439ac1619b02a44b6f482241dbb7486a15138e3aada5fa01d382 + features: + - or: + - string: "qmqtt: Binary data size bigger than %u bytes, truncate it!" + - string: "qmqtt: String size bigger than %u bytes, truncate it!" + - string: "qmqtt: Control packet bigger than 256 MB, dropped!" + - string: "qmqtt: Control packet write error!" + - string: "QMQTT::Client" + - string: "QMQTT::ClientPrivate" + - string: "QMQTT::Network" + - string: "QMQTT::Socket" + - string: "QMQTT::SslSocket" + - string: "QMQTT::Timer" + - string: "QMQTT::WebSocket" + - string: "QMQTT::WebSocketIODevice"