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

Use of gcc instead of llmv #1

Open
RobertBuhren opened this issue Jul 9, 2024 · 2 comments
Open

Use of gcc instead of llmv #1

RobertBuhren opened this issue Jul 9, 2024 · 2 comments

Comments

@RobertBuhren
Copy link

Thanks for releasing this baremetal address sanitizer. I was wondering, is there an inherent dependency on clang/llvm? Or would it be possible to port this to gcc?

@rodionov
Copy link
Collaborator

Hello @RobertBuhren,

I don't there is any inherent dependency on clang/llvm and similar things could be done with gcc. For example, this deck https://a13xp0p0v.github.io/img/Alexander_Popov-KASan_in_a_Bare-Metal_Hypervisor.pdf covers exactly the case of using gcc to enable KASan for a hypervisor. It provides explanation for the gcc options to enable the instrumentation for the target.

@RobertBuhren
Copy link
Author

Thanks for the quick reply and the reference!

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