File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
cpp/ql/test/library-tests/calling-convention Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ | test.cpp:4:21:4:35 | definition of thiscall_method | thiscall |
2+ | test.cpp:7:13:7:25 | definition of func_overload | cdecl |
3+ | test.cpp:8:15:8:27 | definition of func_overload | stdcall |
4+ | test.cpp:10:17:10:30 | declaration of func_prototype | fastcall |
5+ | test.cpp:12:6:12:19 | definition of func_prototype | fastcall |
Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ import cpp
33from FunctionDeclarationEntry func , CallingConventionSpecifier ccs
44where ccs .hasName ( func .getASpecifier ( ) )
55select func , func .getASpecifier ( )
6+
Original file line number Diff line number Diff line change 1+ // semmle-extractor-options: --microsoft
2+
3+ struct call_conventions {
4+ void __thiscall thiscall_method () {}
5+ };
6+
7+ int __cdecl func_overload () {}
8+ int __stdcall func_overload (int x) {}
9+
10+ void __fastcall func_prototype ();
11+
12+ void func_prototype () {}
You can’t perform that action at this time.
0 commit comments