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

Some questions about how to debug the challenges with gdb? #56

Open
xiajia95 opened this issue Apr 13, 2019 · 0 comments
Open

Some questions about how to debug the challenges with gdb? #56

xiajia95 opened this issue Apr 13, 2019 · 0 comments

Comments

@xiajia95
Copy link

Hi,
When I test DARPA Challenge Binaries on Linux, in the directory ‘cb-multios/build/challenges’, I can find each challenge has the binary and pov.pov.
I run an example in the directory ‘cb-multios/build/challenges/Hug_Game’, when I run ‘../../../tools/tester.py -c Hug_Game --povs’ as github, it shows:

### 
\Running tests against 1 challenge(s)

Testing Hug_Game...
POV:
	Running 2 test(s) => Passed 1/2
Done testing Hug_Game => Passed 1/2 tests

I don’t understand if the challenge has been triggered successfully, and what the meaning of the passed 1/2?

And I want to debug the binary using gdb, but I don’t know the true option, I run 'gdb Hug_Game', and next ‘r < pov.pov’, but it looks like doesn’t work.
So can you tell me how to debug it by using gdb?

Thanks

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

No branches or pull requests

1 participant