-
Notifications
You must be signed in to change notification settings - Fork 576
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
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…signal_nocancel and SYS_shared_region_map_and_slide_np.
This was referenced Mar 11, 2025
ivankyluk
added a commit
that referenced
this pull request
Mar 12, 2025
…mit messages. (#7345) Skip clang-format checks and vera test if DISABLE_FORMAT_CHECKS appears in one of the commit messages. This feature enables us to copy code over without format changes as a base line and use subsequent PRs to fix format issues. And it is useful to add .patch files or other files where tabs are part of the format. Format checks can also be disabled by setting DISABLE_FORMAT_CHECKS to ON, for example, cmake -DDISABLE_FORMAT_CHECKS=ON ... Test: I added DISABLE_FORMAT_CHECKS as part of a commit message to #7304 and verified format checks were disabled except aarch64 build. "gh api" is not installed on the aarchxx machines. Adding "gh" to the install list didn't work, and manually installing gh or github-cli failed using tmate. I have added a TODO in .github/workflows/ci-aarchxx.yml to add the support once "gh api" is installed. Issue: #7344
ivankyluk
added a commit
that referenced
this pull request
Mar 14, 2025
…mit messages. (#7361) Skip clang-format, vera and tab checks if DISABLE_FORMAT_CHECKS appears in one of the commit messages. This feature enables us to copy code over without format changes as a base line and use subsequent PRs to fix format issues. And it is useful to add .patch files or other files where tabs are part of the format. Format checks can also be disabled by setting DISABLE_FORMAT_CHECKS to ON, for example, cmake -DDISABLE_FORMAT_CHECKS=ON ... Test: I added DISABLE_FORMAT_CHECKS as part of a commit message to #7304 and verified format checks were disabled except aarch64 build. "gh api" is not installed on the aarchxx machines. Adding "gh" to the install list didn't work, and manually installing gh or github-cli failed using tmate. I have added a TODO in .github/workflows/ci-aarchxx.yml to add the support once "gh api" is installed. The original PR #7345 was reverted because github.event.pull_request._links.commits.href is absent in case of push/merge. This PR handles the push/merge case by using ``` if ${{ contains(toJSON(github.event.commits.*.message), 'DISABLE_FORMAT_CHECKS') }} ``` for push. Test: - I added DISABLE_FORMAT_CHECKS as part of a commit message in a clone repository, ivankyluk/dynamorio, to verify format checks were disable when DISABLE_FORMAT_CHECKS was added as a commit message. And formats checks were enabled when DISABLE_FORMAT_CHECKS was absent. - I used the cloned repository to test the push/merge event. Issue: #7344
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
Issue: #7303