| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | attr-uninitialized.c | 4 int dont_initialize_me __attribute((uninitialized)); in good() 8 …int im_bad __attribute((uninitialized("zero"))); // expected-error {{'uninitialized' attribute ta… in bad() 9 …static int im_baaad __attribute((uninitialized)); // expected-warning {{'uninitialized' attribute … in bad() 12 extern int come_on __attribute((uninitialized)); // expected-warning {{'uninitia… 13 int you_know __attribute((uninitialized)); // expected-warning {{'uninitia… 14 static int and_the_whole_world_has_to __attribute((uninitialized)); // expected-warning {{'uninitia… 16 void answer_right_now(void) __attribute((uninitialized)) {} // expected-warn… in answer_right_now() 17 void just_to_tell_you_once_again(__attribute((uninitialized)) int whos_bad) {} // expected-warning … in just_to_tell_you_once_again() 20 …__attribute((uninitialized)) int youre_doin_wrong; // expected-warning {{'uninitialized' attribute… 21 } __attribute((uninitialized)); // expected-warning {{'uninitialized' attribut…
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
| H A D | sanitizer_set_death_callback_test.cpp | 23 void MaybeInit(int *uninitialized) { in MaybeInit() argument 25 *uninitialized = 1; in MaybeInit() 37 int uninitialized; in main() local 39 MaybeInit(&uninitialized); in main() 40 if (uninitialized) // trigger msan report. in main()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/ |
| H A D | core.uninitialized.ArraySubscript.rst | 1 .. title:: clang-tidy - clang-analyzer-core.uninitialized.ArraySubscript 3 …:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-a… 5 clang-analyzer-core.uninitialized.ArraySubscript 8 The clang-analyzer-core.uninitialized.ArraySubscript check is an alias, please see 9 …ble Checkers <https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-arraysubscript…
|
| H A D | core.uninitialized.UndefReturn.rst | 1 .. title:: clang-tidy - clang-analyzer-core.uninitialized.UndefReturn 3 …:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-u… 5 clang-analyzer-core.uninitialized.UndefReturn 8 The clang-analyzer-core.uninitialized.UndefReturn check is an alias, please see 9 …able Checkers <https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-undefreturn>`_
|
| H A D | core.uninitialized.Assign.rst | 1 .. title:: clang-tidy - clang-analyzer-core.uninitialized.Assign 3 …:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-a… 5 clang-analyzer-core.uninitialized.Assign 8 The clang-analyzer-core.uninitialized.Assign check is an alias, please see 9 …Available Checkers <https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-assign>`_
|
| H A D | core.uninitialized.Branch.rst | 1 .. title:: clang-tidy - clang-analyzer-core.uninitialized.Branch 3 …:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-b… 5 clang-analyzer-core.uninitialized.Branch 8 The clang-analyzer-core.uninitialized.Branch check is an alias, please see 9 …Available Checkers <https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-branch>`_
|
| H A D | core.uninitialized.CapturedBlockVariable.rst | 1 .. title:: clang-tidy - clang-analyzer-core.uninitialized.CapturedBlockVariable 3 clang-analyzer-core.uninitialized.CapturedBlockVariable 6 Check for blocks that capture uninitialized values
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | objc-subscript.m | 51 if (o[self]) // expected-warning {{Subscript access on an uninitialized object pointer}} 54 if (o[0]) // expected-warning {{Subscript access on an uninitialized object pointer}} 66 self[0] = o; // expected-warning {{Argument for subscript setter is an uninitialized value}} 69 self[i] = input; // expected-warning {{Subscript index is an uninitialized value}} 72 (void)self[i]; // expected-warning {{Subscript index is an uninitialized value}} 75 self[input] = o; // expected-warning {{Argument for subscript setter is an uninitialized value}} 78 self[o] = input; // expected-warning {{Subscript index is an uninitialized value}} 81 (void)self[o]; // expected-warning {{Subscript index is an uninitialized value}}
|
| H A D | objcpp-uninitialized-object.mm | 7 myBlock z; // expected-note{{uninitialized field 'this->z'}} 12 …StructWithBlock(int pA) : a(pA) {} // expected-warning{{1 uninitialized field at the end of the co… 26 id z; // expected-note{{uninitialized pointer 'this->z'}} 27 …StructWithId() : a(0) {} // expected-warning{{1 uninitialized field at the end of the constructor …
|
| H A D | uninit-vals.m | 29 // Test uninitialized value due to part of the structure being uninitialized. 63 …aux(x); // expected-warning{{Passed-by-value struct argument contains uninitialized data (e.g., fi… 72 …[o passVal:x]; // expected-warning{{Passed-by-value struct argument contains uninitialized data (e… 73 …// expected-note@-1{{Passed-by-value struct argument contains uninitialized data (e.g., field: 'x'… 76 // Test case from <rdar://problem/7780304>. That shows an uninitialized value 86 // The flip side of PR10163 -- float arrays that are actually uninitialized 90 test_PR10163(x[1]); // expected-warning{{uninitialized value}} 91 // expected-note@-1{{1st function call argument is an uninitialized value}} 270 // This generated an "uninitialized 'size' field" warning for a (short) while. 299 useInt(b.y); // expected-warning{{uninitialized}} [all …]
|
| H A D | ctu-on-demand-parsing.c | 71 int uninitialized; in testImplicit() local 72 h(uninitialized); // expected-warning{{1st function call argument is an uninitialized value}} in testImplicit()
|
| H A D | call-and-message.m | 67 …return [aString length]; // expected-warning {{Receiver in message expression is an uninitialized … 84 …if (y && o.x) // expected-warning {{Property access on an uninitialized object pointer [core.CallA… 92 …return o; // expected-warning {{Undefined or garbage value returned to caller [core.uninitialized.… 119 …if (o[self]) // expected-warning {{Subscript access on an uninitialized object pointer [core.CallA… 122 …if (o[0]) // expected-warning {{Subscript access on an uninitialized object pointer [core.CallAn…
|
| H A D | ctu-main.c | 85 int uninitialized; in testImplicit() local 86 h(uninitialized); // newctu-warning{{1st function call argument is an uninitialized value}} in testImplicit()
|
| H A D | exceptions.mm | 17 int a; // uninitialized 31 int a; // uninitialized
|
| H A D | unions-region.m | 11 // false positive of a 'pass-by-value argument is uninitialized' 34 // false positive of a 'pass-by-value argument is uninitialized'
|
| H A D | malloc.m | 11 // the check that malloc() returns uninitialized memory. 32 …579586(buffer->str_c); // expected-warning {{1st function call argument is an uninitialized value}}
|
| H A D | misc-ps.c | 176 int uninitialized; in sinkAfterRegularNode() local 177 context->callback(uninitialized); // expected-warning {{uninitialized}} in sinkAfterRegularNode()
|
| /llvm-project-15.0.7/llvm/test/Verifier/ |
| H A D | allockind.ll | 9 ; CHECK: 'allockind("free")' doesn't allow uninitialized, zeroed, or aligned modifiers. 12 ; CHECK: 'allockind()' can't be both zeroed and uninitialized 13 declare i8* @d(i32, i32*) allockind("realloc,uninitialized,zeroed")
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | trivial-auto-var-init-attribute.cpp | 21 [[clang::uninitialized]] int i; in test_attribute_uninitialized() 25 #pragma clang attribute push([[clang::uninitialized]], apply_to = variable(is_local))
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | pragma-attribute.cpp | 183 #pragma clang attribute push([[clang::uninitialized]], apply_to = variable(is_local)) 185 #pragma clang attribute push([[clang::uninitialized]], apply_to = function) // expected-error {{att… 187 #pragma clang attribute push([[clang::uninitialized]], apply_to = variable) // expected-error {{att… 189 #pragma clang attribute push([[clang::uninitialized]], apply_to = variable(is_thread_local)) // exp… 191 #pragma clang attribute push([[clang::uninitialized]], apply_to = variable(is_global)) // expected-… 193 #pragma clang attribute push([[clang::uninitialized]], apply_to = any(variable(is_parameter), varia… 207 #pragma clang attribute push([[clang::uninitialized]], apply_to=any) // expected-error {{expected '… 208 #pragma clang attribute push([[clang::uninitialized]], apply_to = any()) // expected-error {{expect…
|
| /llvm-project-15.0.7/compiler-rt/test/msan/ |
| H A D | dtls_test.c | 31 long uninitialized; in Thread1() local 35 *x = uninitialized; in Thread1()
|
| /llvm-project-15.0.7/compiler-rt/lib/cfi/ |
| H A D | cfi_ignorelist.txt | 3 # uninitialized T* (libstdc++, MSVC stdlib). 15 # This ctor is used by std::make_shared and needs to cast to uninitialized T*
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | out-of-tree-allocator-optimizes-away.ll | 18 …ust_alloc(i64, i64 allocalign) nounwind allocsize(0) allockind("alloc,uninitialized,aligned") "all… 20 …ptr, i64, i64 allocalign, i64) nounwind allocsize(3) allockind("alloc,uninitialized,aligned") "all…
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | MemorySanitizer.rst | 11 MemorySanitizer is a detector of uninitialized reads. It consists of a 56 WARNING: MemorySanitizer: use-of-uninitialized-value 83 attribute ``no_sanitize("memory")`` to disable uninitialized checks in a 102 checks for certain source files and functions. All "Use of uninitialized value" 118 MemorySanitizer can track origins of uninitialized values, similar to 140 WARNING: MemorySanitizer: use-of-uninitialized-value 153 intermediate stores the uninitialized value went through. Origin
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | uninit-variables.m | 18 return x; // expected-warning{{variable 'x' is uninitialized when used here}} 55 return x; // expected-warning {{variable 'x' is uninitialized when used here}}
|