CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
windows.c
Go to the documentation of this file.
1/* FUNCTION: QueryPerformanceFrequency */
2
3#ifdef _WIN32
4#include <windows.h>
5
7{
9 __int64 result;
10 lpFrequency->QuadPart=result;
11 __CPROVER_bool error;
12 if(error) return 0;
13 __CPROVER_assume(result!=0);
14 return 1;
15}
16#endif
17
18/* FUNCTION: ExitThread */
19
20#ifdef _WIN32
21#include <windows.h>
22
24{
25 // never returns
27}
28#endif
29
30/* FUNCTION: CreateThread */
31
32#ifdef _WIN32
33#include <windows.h>
34
42{
45
48
49 HANDLE handle;
50 return handle;
51}
52#endif
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition ai.h:562
void __CPROVER_assume(__CPROVER_bool assumption)
const std::string thread_id