Oliver Stöneberg

Results 331 issues of Oliver Stöneberg

Fixing this warning mainly involved adding `static` identifiers or `void` parameters to the declaration or adding missing includes which contained the prototypes. This allowed the compiler to detect unused functions...

Recently the old `tools_openssl_x64` tool was removed and you now need to use `tools_opensslv3_x64`. That shows up in the list of available tools: ``` python3 -m aqt list-tool windows desktop...

```cpp #define foo(intp)f##oo(intp foo(f##oo(intp)) ``` ``` ==200327== at 0x129A34: __gnu_cxx::__aligned_membuf::_M_addr() (aligned_buffer.h:65) ==200327== by 0x129A24: __gnu_cxx::__aligned_membuf::_M_ptr() (aligned_buffer.h:73) ==200327== by 0x1297A8: std::_Rb_tree_node::_M_valptr() (stl_tree.h:235) ==200327== by 0x129664: std::_Rb_tree_node* std::_Rb_tree::_M_clone_node(std::_Rb_tree_node*, std::_Rb_tree::_Alloc_node&) (stl_tree.h:647) ==200327== by...

bug

```cpp #include #include ``` ``` ==58215==ERROR: LeakSanitizer: detected memory leaks Direct leak of 144 byte(s) in 2 object(s) allocated from: #0 0x7ff948ae2002 in operator new(unsigned long) /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_new_delete> #1 0x56404715371a in...

bug

```cpp #/**/include ``` ``` simplecpp.cpp:3436:66: runtime error: member access within null pointer of type 'const Token' #0 0x61489cfd2109 in simplecpp::preprocess(simplecpp::TokenList&, simplecpp::TokenList const&, std::__1::vector&, std::__1::map&, simplecpp::DUI const&, std::__1::list*, std::__1::list*, std::__1::list*) /home/user/CLionProjects/simplecpp-rider/simplecpp.cpp:3436:66...

If an include points to an existing directory (e.g. `#include `) the code will not raise an error. I would expect it to report `EXPLICIT_INCLUDE_NOT_FOUND`. This is caused by using...

bug

The main downstream user Cppcheck is already integrated with OSS-Fuzz. As that is supposed to be used as a CLI application in the first place (although it also could be...

ci