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

Fix for crashing on relocating at unistrumentable points #460

Merged
merged 1 commit into from
Oct 2, 2018

Conversation

bwelton
Copy link
Contributor

@bwelton bwelton commented May 1, 2018

This fix is to address issue #455. When an unistrimentable point is selected for instrimenation
the behaviour Dyninst will now exhibit is the following:

  1. InsertSnippet will return NULL if not in an insertion set and an illegal when parameter is used

  2. If in an insertion set, InsertSnippet will return an object to the instrimentation. However when the set
    is closed the insertion of that point will fail. It will either fail and continue to the next point (if
    the insertion set closure is set to continue past errors) or roll back all prior insertions.
    .

This fix is to address issue dyninst#455. When an unistrimentable point is selected for instrimenation
the behaviour Dyninst will now exhibit is the following:

1. InsertSnippet will return NULL if not in an insertion set and an illegal when parameter is used

2. If in an insertion set, InsertSnippet will return an object to the instrimentation. However when the set
   is closed the insertion of that point will fail. It will either fail and continue to the next point (if
   the insertion set closure is set to continue past errors) or roll back all prior insertions.
.
@dyninst-jenkins
Copy link

Build triggered. sha1 is merged.

@dyninst-jenkins
Copy link

Build started sha1 is merged.

@dyninst-jenkins
Copy link

Build finished. 0 tests run, 0 skipped, 0 failed.

@mxz297 mxz297 added this to the Release 10.0.0 milestone May 14, 2018
@bwelton
Copy link
Contributor Author

bwelton commented Sep 20, 2018

Can be merged as-is.

@bwelton
Copy link
Contributor Author

bwelton commented Oct 2, 2018

Do not see build issues with this, mergable as is.

@bwelton bwelton merged commit d830b06 into dyninst:master Oct 2, 2018
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.

3 participants