zeyi2 wrote:

FYI I ran the check on the codebase of `cppcheck` and `clang`, here are the 
result

| Project | Status | Warnings | Errors | Crash |
| :--- | :--- | :--- | :--- | :--- |
| **cppcheck** | ✅ Pass | 0 | 0 | - |
| **llvm** | ❌ Fail | 0 | 2 | - |

---

<details>
<summary><strong>🔍 llvm Details (0 warnings, 2 errors)</strong></summary>

#### 📄 `ClangFuzzer.cpp`
- 🛑 **21:39**: unknown type name 'uint8_t' `[clang-diagnostic-error]`
  ```cpp
  21 | extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
  ```
#### 📄 `ClangObjectiveCFuzzer.cpp`
- 🛑 **21:39**: unknown type name 'uint8_t' `[clang-diagnostic-error]`
  ```cpp
  21 | extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
  ```

</details>

No crash and warnings found (extern C is likely a config issue..)

https://github.com/llvm/llvm-project/pull/182543
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to