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

libkvmi API help #56

Open
allewwaly opened this issue Jul 1, 2020 · 6 comments
Open

libkvmi API help #56

allewwaly opened this issue Jul 1, 2020 · 6 comments

Comments

@allewwaly
Copy link

I'm trying to setup libkvmi, however I cannot get any document about the APIs in libkvmi.h, or any examples on how to combine it with libvmi. Can anybody give me some help? Thanks a lot.

@adlazar
Copy link
Collaborator

adlazar commented Jul 1, 2020

@allewwaly , if you want to use libkvmi directly, take a look at kvmi-test.c. For the low level API (between kernel and userspace) you can find the documentation here.
libvmi from this project already uses libkvmi. @Wenzel can point you to the right branch.

@Wenzel
Copy link
Member

Wenzel commented Jul 1, 2020

Regarding libvmi, there is an integration for kvmi-v6 and kvmi-v7

Also there is an opened pull request to integrate the new KVM driver in upstream libvmi: libvmi/libvmi#844

I hope this helps.

@allewwaly
Copy link
Author

That helps, Thx.

@allewwaly allewwaly reopened this Jul 2, 2020
@allewwaly
Copy link
Author

Is there any example on using libkvmi to capture syscalls with context like syscall name and parameters? Just like Nitro does with backend option.

@adlazar
Copy link
Collaborator

adlazar commented Jul 3, 2020

None that I know of.

@Wenzel
Copy link
Member

Wenzel commented Jul 19, 2020

@allewwaly Nitro is a deprecated project.
if you want to revive it you will likely need to use libvmi exclusively and put breakpoints on the syscall handlers.

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

3 participants