Tags: clayne/drmemory
Tags
i#2522 strcasestr prototype error: Remove `const` from result type (D… …ynamoRIO#2526) The definition of strcasestr is char *strcasestr(const char *text, const char *pattern); but drmemory uses const char *strcasestr(const char *text, const char *pattern); This causes build errors when both /usr/include/string.h and common/utils.h are included in linux. The definition for strcasestr for C has always not had the `const` in the result type (going back to its original addition to glibc in 1997). Thus we're pretty safe in not breaking anything on *nix. The other main use case of drmemory's strcasestr is on Windows, which does not have strcasestr. Tested: $ cmake && make Also, there are failures in the clang and x86 workflows, but comparing the logs before/after shows all failures pre-exist this patch, no new failures. Here is the complete audit, all failures are pre-existing. Recorded (errantly) as i#1938 failures: - wrap_operators: "internal crash" (Received SIGSEGV) - filed as DynamoRIO#2535 - wrap_cs2bug: CHECK_TRUNCATE_TYPE_sbyte(new_offs) (DynamoRIO#2342) - pcache-use: "Usage error: meta-instr faulted? must set translation field and handle fault!" (DynamoRIO#2202) - app_suite: vsyscall incorrect assumption (DynamoRIO#2491) - app_suite.pattern: assert failure: save->ignore_next_delete == 0 (premature deletion) - filed as i#2537 - fuzz_threads: vsyscall incorrect assumption (DynamoRIO#2491) Note: The above are marked as expected failures but [runsuite_wrapper.pl hardwires the addition of "i#1938" to test output](https://github.com/DynamoRIO/drmemory/blob/master/tests/runsuite_wrapper.pl#L281). DynamoRIO#2534 Not currently recorded as expected failures (all DynamoRIO#2491 - vsyscall incorrect assumption): - selfmod - syscalls_unix - clone - pthread_test - realloc Fixes DynamoRIO#2522
i#7013 build failure: Remove DOT_TRANSPARENT from Doxyfile.in (Dynamo… …RIO#2521) This causes the error CMake Error at /tmp/dynamorio/drmemory/docs/CMake_doxyfile.cmake:256 (message): /usr/bin/doxygen -u failed: This tag has been removed. Tested: $ make htmldocs Fixes DynamoRIO#2524 Fixes DynamoRIO/dynamorio#7013
i#2498 init failures: Ignore privlib init failures (DynamoRIO#2515) Updates DR to 51b152fa2 extends the private loader bcrypt.dll entry failure being ignored to ignore all private library entry failures. We have had multiple cases of initializers failing without fatal consequences, and given that we do not have resources to track down every detail it is best to note the failure and move on. We have seen Dr. Memory in particular fail on newer Windows versions and in some cases ignoring that failure lets the tool continue and succeed, as only a small piece of the private library is needed (generally pulled in as a chain of dependences from dbghelp.dll which is used for symbol information). The private loader on Windows is considered best-effort at this point. Issue: DynamoRIO#2498
Update WIX version to 6.14 (DynamoRIO#2497) Updates the PATH of our Windows builds to find the new WIX version on the GA CI VM's. Issue: DynamoRIO/dynamorio#6709
DRi#6611: Fix glibc 2.37 elfutils hang (DynamoRIO#2495) Updates DR to b42b82b1d to fix a problem with DR's private loader with glibc 2.37 and the new elfutils libdw when addresses are looked up. Issue: DynamoRIO/dynamorio#6611
Update DR and fix associated DR and recent-Linux issues (DynamoRIO#2484) Updates DR to bbd4ffadd. Fixes several issues with the latest DR and recent Linux platforms: + DWARF5 is now the gcc default but is not supported (DynamoRIO#2485) so we add -gdwarf-4 to our test flags and the docs. + Adds Linux syscall entries for rseq and getrandom, seen on tiny apps now. + Fixes a bug in the size of kernel_sigset_t which was resulting in false positive uninitialized errors in rt_sigaction. + Updates drltrace code for droption now being in a namespace. + Adds --recursive to the git submodule commands to get minizip for the DR build. + Relaxes the drltrace tests to allow __IO_puts and __open.
Update to version 2.6.0 (DynamoRIO#2486) Updates from 2.5.xx to 2.6.xx.
Fix VS2019 warnings in drcachesim (DynamoRIO#2474) Updates DR to 1f40176ae to fix VS2019 warnings. Sets AUTOMATED_TESTING to enable settings in the DR build. Issue: DynamoRIO/dynamorio#5767
Fix glibc 2.35 rseq issues (DynamoRIO#2470) Pulls in a fix for DynamoRIO/dynamorio#5431 where the rseq feature in glibc 2.35 broke DR's rseq support.
i#2467: Document libunwind8 dependence (DynamoRIO#2468) Add to the Linux installation docs that libunwind8 needs to be installed. Fixes DynamoRIO#2467
PreviousNext