Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i#7303: Copy drsyscall from drmemory to dynamorio/ext. #7304

Open
wants to merge 37 commits into
base: master
Choose a base branch
from

Conversation

ivankyluk
Copy link
Contributor

@ivankyluk ivankyluk commented Feb 25, 2025

Copy files from drmemory/drsyscall to dynamorio/ext/drsyscall. Files required by drsyscall under drmemory/common and drmemory/framework are copied as well.

The following changes are made:

  • Add drcontext as the first parameter to LOG(...)
  • Remove rlimit64 declaration from linux_defines.h.
  • Remove IF_WINDOWS_ELSE from common/utils.h
  • Change op_verbose_level to verbose in common/utils.h
  • LOG if DEBUG is defined to remove drcontext
  • Update drsyscall/CMakeLists.txt to include files in framework and common.
  • Copy the DRMF_VERSION and set_library_version logic from drmemory/CMakeLists.txt to ext/drsyscall/CMakeList.txt.
  • Add a space in between "while(" for REPORT_DISK_ERROR in common/utils.h.
  • (MacOS) Comment out SYS_nfsclnt, SYS___old_semwait_signal, SYS___old_semwait_signal_nocancel and SYS_shared_region_map_and_slide_np in table_macos_bsd.c (xref macOS Ventura support drmemory#2483).
  • Skip Alpine, ANDROID and RISCV64 build in drsycall/CMakeLists.txt
  • Change make/resources.rc to core/win32/resources.rc in drsyscall/CMakeLists.txt.
  • Remove empty lines before EOF and change tabs to spaces in files.

Issue: #7303

@ivankyluk ivankyluk changed the title i7303: Copy drsyscall from drmemory to drnamorio/ext. i7303: Copy drsyscall from drmemory to dynamorio/ext. Feb 25, 2025
@ivankyluk ivankyluk changed the title i7303: Copy drsyscall from drmemory to dynamorio/ext. i#7303: Copy drsyscall from drmemory to dynamorio/ext. Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant