Skip to content

Commit

Permalink
Fix Disconnect CBMC proof and update size table
Browse files Browse the repository at this point in the history
  • Loading branch information
AniruddhaKanhere committed Sep 21, 2022
1 parent 06e5ea8 commit 0737ab4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/doxygen/include/size_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<tr>
<td>core_mqtt.c</td>
<td><center>3.9K</center></td>
<td><center>3.3K</center></td>
<td><center>3.4K</center></td>
</tr>
<tr>
<td>core_mqtt_state.c</td>
Expand All @@ -25,6 +25,6 @@
<tr>
<td><b>Total estimates</b></td>
<td><b><center>8.4K</center></b></td>
<td><b><center>6.8K</center></b></td>
<td><b><center>6.9K</center></b></td>
</tr>
</table>
2 changes: 2 additions & 0 deletions test/cbmc/proofs/MQTT_Disconnect/MQTT_Disconnect_harness.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ void harness()

pContext = allocateMqttContext( NULL );
__CPROVER_assume( isValidMqttContext( pContext ) );
__CPROVER_assume( pContext != NULL );
__CPROVER_assume( pContext->networkBuffer.pBuffer != NULL );

MQTT_Disconnect( pContext );
}

0 comments on commit 0737ab4

Please sign in to comment.