orc icon indicating copy to clipboard operation
orc copied to clipboard

ORC is a tool for finding violations of C++'s One Definition Rule on the OSX toolchain.

Results 16 orc issues
Sort by recently updated
recently updated
newest added

Provide an `unaligned_read` routine for reading integers at any memory address, not just those that are at language-prescribed alignment offsets. The solution is to use `memcpy`, which the compiler will...

**Describe the bug** UBSan correctly flags this line in the Murmer3 code: ``` /Users/runner/work/orc/orc/src/hash.cpp:40:69: runtime error: load of misaligned address 0x00010c28f87b for type 'const uint64_t' (aka 'const unsigned long long'),...

bug

**Describe the bug** Lucky, really, since #49 is a legitimate UBSan error. But even though UBSan reports the error, the CI build on github still succeeds. Likely a problem with...

bug

## Description The heavily used `die` is currently 96 bytes. With this PR, it is brought down to 88 bytes, by removing the _hash member. We still need the hash...

This change improves memory handling by adding a custom allocator to many standard library types (vector and string most notably.) The custom allocators will keep a thread-local pool of memory...

**Describe the bug** An ODRV is being reported twice, once for each architecture. ``` warning: ODRV (class:byte_size); conflict in `adobe::cloudservices::platform::HttpRequestObject` within: liblecplatform.a: within: arch.arm64: etc. ``` ``` warning: ODRV (class:byte_size);...

bug

**Describe the bug** If logging is used, ORC outputs to multiple streams, which causes the number of ODRVs reported to be doubled. ``` info: ORC complete. info: 537 ODRVs reported...

bug

To eat our own dogfood here, the sources should be wrapped in a namespace to minimize the chances of ODRVs happen. For source-level structures and algorithms, they should be wrapped...

bug

**Describe the bug** The build fails with errors in several files. **Expected behavior** Should be able to compile with `cmake --build build`. **Environment:** - OS: Ubuntu 20.04 - Compiler/IDE: Clang...

bug

We're spending a lot of time reading strings from DWARF's `debug_str` section, without any guarantees that these strings will be necessary during DIE processing. This PR defers string reading until...