document uninit issue

Summary: title

Reviewed By: ezgicicek

Differential Revision: D22045454

fbshipit-source-id: eb3e907d3
master
Jules Villard 5 years ago committed by Facebook GitHub Bot
parent b90f0a0182
commit aa3586b855

@ -0,0 +1,19 @@
A value is read before it has been initialized. For example, in C:
```C
struct coordinates {
int x;
int y;
};
void foo() {
struct coordinates c;
c.x = 42;
c.y++; // uninitialized value c.y!
int z;
if (z == 0) { // uninitialized value z!
// something
}
}
```

@ -927,7 +927,10 @@ let _unavailable_api_in_supported_ios_sdk =
~user_documentation:[%blob "../../documentation/issues/UNAVAILABLE_API_IN_SUPPORTED_IOS_SDK.md"] ~user_documentation:[%blob "../../documentation/issues/UNAVAILABLE_API_IN_SUPPORTED_IOS_SDK.md"]
let uninitialized_value = register_from_string ~id:"UNINITIALIZED_VALUE" Error Uninit let uninitialized_value =
register_from_string ~id:"UNINITIALIZED_VALUE" Error Uninit
~user_documentation:[%blob "../../documentation/issues/UNINITIALIZED_VALUE.md"]
let unreachable_code_after = let unreachable_code_after =
register_from_string ~id:"UNREACHABLE_CODE" Error BufferOverrunChecker register_from_string ~id:"UNREACHABLE_CODE" Error BufferOverrunChecker

Loading…
Cancel
Save