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

Hello, I am a Chinese university student and I want to use your project.However, a problem occurred during the test using #5

Closed
Pawn-xd opened this issue Mar 25, 2023 · 2 comments

Comments

@Pawn-xd
Copy link

Pawn-xd commented Mar 25, 2023

First of all, I'm very sorry that I downloaded your project without contacting you. In my graduation project I want to generate the CFG of the program, so I would like to see your generated CFG. I use ubuntu22.04 to compile the project. But the sample_exec compiled after I run test_run.sh cannot run normally, and the error message is similar: [Unexpected trap 13! at 0x402908(core dumped). And the cpp program I tested also has this problem. May I ask what the possible question is?where does the CFG exist?Thank you so much!

@mustakimur
Copy link
Owner

Hi
I understand the prototype is currently broken due to hardware (MPX) dependency. However, if you are only interested in CFG, take advantage of the dump functions from the SVF codes e.g. void DDAPass::dumpcCFG() https://github.com/mustakimur/OS-CFI/blob/master/svf-src/lib/DDA/DDAPass.cpp.

@Pawn-xd
Copy link
Author

Pawn-xd commented Mar 25, 2023 via email

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

2 participants