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

Attempts to fix legacy test failures in Dyninst test suite #549

Merged
merged 2 commits into from Mar 7, 2019

Conversation

mxz297
Copy link
Member

@mxz297 mxz297 commented Feb 10, 2019

This PR attempts to fix test failures listed in #550.

@mxz297
Copy link
Member Author

mxz297 commented Feb 10, 2019

test1_22 failures in rewriter mode is fixed.

@mxz297
Copy link
Member Author

mxz297 commented Feb 11, 2019

pc_tls failures should be fixed with this branch and a new commit pushed to the test suite

@mxz297
Copy link
Member Author

mxz297 commented Feb 12, 2019

test_pt_ls failed due to the directory layout change of dyninst installation.

@mxz297
Copy link
Member Author

mxz297 commented Feb 12, 2019

power_decode failed due to recycled & updated opcodes (in other words, the test was wrong).

@mxz297
Copy link
Member Author

mxz297 commented Feb 12, 2019

@hainest Can you pull the current test suite and this branch and give it a run on your machine? Now there should be no test failures at all on x86-64.

@hainest
Copy link
Contributor

hainest commented Feb 22, 2019

@mxz297 When you get a chance, could you rebase this on master?

it does not check whether this library has been loaded before or not.
Dyninst will create multiple binaryEdit objects for one library,
which can cause inconsistent states between these objects.

This fix adds a map to BPatch_binaryEdit to make sure each library
is only loaded once.
The root cause is a broken library name matching code.
Just should boost:filesystem::path to deal with file paths.
@mxz297
Copy link
Member Author

mxz297 commented Feb 22, 2019

@hainest rebased.

@hainest hainest self-assigned this Mar 5, 2019
@hainest hainest added bug test suite These changes are needed to correct or improve a test in the Testsuite. v10.1-release labels Mar 5, 2019
@hainest hainest merged commit 2a4bbf7 into master Mar 7, 2019
@hainest hainest mentioned this pull request Mar 7, 2019
@mxz297 mxz297 deleted the known_test_failures_fixes branch May 15, 2019 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug test suite These changes are needed to correct or improve a test in the Testsuite.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants