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

osd-target-run: Ensure that ELF file exists and is a file #26

Open
imphil opened this issue Aug 19, 2018 · 0 comments
Open

osd-target-run: Ensure that ELF file exists and is a file #26

imphil opened this issue Aug 19, 2018 · 0 comments

Comments

@imphil
Copy link
Contributor

imphil commented Aug 19, 2018

Passing a non-existing ELF file, or a directory, to osd-target-run does not result in an error message, but in wrong behavior:

$ ~/swinstall/osd/bin/osd-target-run -e /home/philipp/src/diasys/casestudies/transactioncheck/bug-negative-msgs --coretrace --systrace
[ERROR] libosd: invalid file descriptor
[ERROR] osd-target-run: Unable to use ELF file /home/philipp/src/diasys/casestudies/transactioncheck/bug-negative-msgs to decode control trace.
[ERROR] libosd: invalid file descriptor
[ERROR] osd-target-run: Unable to use ELF file /home/philipp/src/diasys/casestudies/transactioncheck/bug-negative-msgs to decode control trace.
[ERROR] libosd: invalid file descriptor
[ERROR] osd-target-run: Unable to use ELF file /home/philipp/src/diasys/casestudies/transactioncheck/bug-negative-msgs to decode control trace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant