i#2016 AArch64: Fix build errors

Updates to get drmemory working again on AArch64 after changes to
dynamorio code over the past ~2 years, since September 2022.

Changes due to:
- Symbol conflicts with IN, OUT and INOUT: i#3348, PR #6455
- Namespaces added to droption: i#4343, PR#6193

Also updated dates in copyright header comments for all files changed.

Status of unit tests:

82% tests passed, 9 tests failed out of 50

Total Test time (real) =  71.44 sec

The following tests FAILED:
          9 - track_origins (Failed)
         10 - free.pattern (Failed)
         11 - malloc.pattern (Failed)
         12 - track_origins.pattern (Failed)
         16 - fuzz_buffer.overflow (Failed)
         35 - drfuzz_test_repeat (Failed)
         42 - umbra_test_insert_app_to_shadow (Failed)
         43 - umbra_wild_shadow (Failed)
         48 - drltrace_symargs (Failed)

Basic binaries run to completion, e.g.

$ drmemory -- /usr/bin/pwd
~Dr.M~~ Dr. Memory version 2.5.19259
~Dr.M~~ ERROR: Failed to find "main" for limiting memory dump
~Dr.M~~ WARNING: application is missing line number information.
. . .
. . .
~Dr.M~~ ERRORS FOUND:
~Dr.M~~       0 unique,     0 total unaddressable access(es)
~Dr.M~~      79 unique,   786 total uninitialized access(es)
~Dr.M~~       0 unique,     0 total invalid heap argument(s)
~Dr.M~~       0 unique,     0 total warning(s)
~Dr.M~~       6 unique,    52 total,   1862 byte(s) of leak(s)
~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
~Dr.M~~ ERRORS IGNORED:
~Dr.M~~      27 unique,   109 total,  17898 byte(s) of still-reachable allocation(s)
~Dr.M~~          (re-run with "-show_reachable" for details)
~Dr.M~~ Details: /path/to/logs/DrMemory-pwd.3313045.000/results.txt
$
53 files changed
tree: e318f4bcf4a9638570bebef47b935bde9836934e
  1. .github/
  2. common/
  3. docs/
  4. drfuzz/
  5. drheapstat/
  6. drltrace/
  7. drmemory/
  8. drstrace/
  9. drsymcache/
  10. drsyscall/
  11. framework/
  12. make/
  13. tests/
  14. third_party/
  15. tools/
  16. umbra/
  17. wininc/
  18. .gitmodules
  19. ACKNOWLEDGEMENTS
  20. CMakeLists.txt
  21. codereview.cmake
  22. CONTRIBUTING.md
  23. CTestConfig.cmake
  24. lgpl-2.1.txt
  25. license.txt
  26. package.cmake
  27. README
  28. README.md
README.md

Dr. Memory: the memory debugger

About Dr. Memory

Dr. Memory is a memory monitoring tool capable of identifying memory-related programming errors such as accesses of uninitialized memory, accesses to unaddressable memory (including outside of allocated heap units and heap underflow and overflow), accesses to freed memory, double frees, memory leaks, and (on Windows) handle leaks, GDI API usage errors, and accesses to un-reserved thread local storage slots.

Dr. Memory operates on unmodified application binaries running on Windows, Linux, Mac, or Android on commodity IA-32, AMD64, and ARM hardware.

Dr. Memory is released under an LGPL license and binary packages are available for download.

Dr. Memory is built on the DynamoRIO dynamic instrumentation tool plaform.

Dr. Memory logo

Dr. Memory Performance

Dr. Memory is faster than comparable tools, including Valgrind, as shown in our CGO 2011 paper Practical Memory Checking with Dr. Memory, where we compare the two tools on Linux on the SPECCPU 2006 benchmark suite:

Performance chart

(Valgrind is unable to run 434.zeusmp and 447.dealII).

Documentation

Documentation is included in the release package. We also maintain a copy for online browsing.

System call tracer for Windows

The Dr. Memory package includes an “strace for Windows” tool called drstrace.

Obtaining help

Dr. Memory has its own discussion list.

To report a bug, use the issue tracker.

See also the Dr. Memory home page: http://drmemory.org/