-
In Xcode if running "Analyze" on a target that includes OCMock, getting a warning about `OCPartialMockObject#setupForwarderForSelector`. On the last line, the call to `class_addMethod` about the possi…
-
Adding a new static code analyzer for Kotlin: https://detekt.dev/
### TASKS
- [X] Research (if needed)
- [X] Create branch feature/detekt
- [X] Initial set up of the tool
- [X] First try to i…
-
https://gcc.godbolt.org/z/aMnzcs6Eb
``` C++
// > clang -O0 -Xclang -analyzer-checker=core -Xclang -analyze ./input.cpp
enum class a { b };
char c[sizeof(a)];
struct {
operator a() { return…
-
https://github.com/nowarp/misti
I would imagine it could be a new button on the left bar, somewhere near the Build button.
-
## Problem
The `.algokit/static_analysis/snapshot` JSONs keep growing (quickly) with the `#` of `pre-commit` runs.
I've noticed it just when GB rejected a commit due to file oversize (118 MB 😱).…
cusma updated
1 month ago
-
This code:
```cpp
#include
#include
struct Structy {
std::string foo;
int bar;
};
int main() {
auto *s = new Structy{
.foo = "foo",
.bar = 1,
};
std::cout fo…
-
clang analyzer reports `clang-analyzer-unix.Malloc` leaks for Eigen rank updates.
Minimal reproducible example: https://godbolt.org/z/1Wa3xjsfx
---
Details including preprocessed c++ file:
…
-
the rocketry embedded standard (still wip) decided that each project is responsible for implementing their own coding safety standards (or not implementing).
since processor board has potential to …
-
Consider the following code:
```dart
extension on int? {
int? operator+(int? other) {
if (this != null && other != null) {
return this! + other;
} else {
return null;
…
-
```cpp
#include
std::string replaceEscapeSequences(const std::string &source)
{
std::string result;
for (std::size_t i = 0; i < source.size(); ++i) {
if (source[i] != '\\' || …