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

Kernel symbols aren't correctly handled in the guest linker #120

Open
dstolfa opened this issue Nov 1, 2021 · 0 comments
Open

Kernel symbols aren't correctly handled in the guest linker #120

dstolfa opened this issue Nov 1, 2021 · 0 comments
Assignees

Comments

@dstolfa
Copy link
Contributor

dstolfa commented Nov 1, 2021

When trying to use backtick (`) in a script to get a kernel symbol, we don't correctly figure out the initial type in the guest:

dt_infer_type(uload, 3): failed to get class
dtrace: failed to infer a type for 3

This is caused by us trying to infer the type on the host kernel first, rather than the guest kernel, and it ends up with a type mismatch.

@dstolfa dstolfa self-assigned this Nov 1, 2021
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