support extending bpf
dvc94ch opened this issue · 4 comments
dvc94ch commented
Hi,
I watched your presentation from 2019 on youtube and you were asking about potential use cases for out of tree modules. I'd be interested in extending the bpf vm in out of tree kernel modules, but I'm not sure if that is possible. Specifically add support for unwinding user space stacks without frame pointers. Some related work I've done for creating better rust program analysis tools are in [0] and [1].
alex commented
Hi David,
First: New development is happening at
https://github.com/Rust-for-Linux/linux/
Second: The first question to ask is whether ther kernel has existing APIs
for this. Thus far our focus has been on enabling folks to do things in
Rust, that can already be done in C. Discussions of _new_ kernel
functionality need to start upstream, not with us.
…On Mon, Feb 1, 2021 at 5:34 PM David Craven ***@***.***> wrote:
Hi,
I watched your presentation from 2019 on youtube and you were asking about
potential use cases for out of tree modules. I'd be interested in extending
the bpf vm in out of tree kernel modules, but I'm not sure if that is
possible. Specifically add support for unwinding user space stacks without
frame pointers. Some related work I've done for creating better rust
program analysis tools are in [0] and [1].
- [0] https://github.com/dvc94ch/rust-bpf
- [1] https://github.com/dvc94ch/ehframe-bpf-compiler
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#279>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAGBAIJW6PKIDTWK53EX3S44T7VANCNFSM4W5SS4XA>
.
--
All that is necessary for evil to succeed is for good people to do nothing.
dvc94ch commented
So this could fundamentally not be built using an out of tree kernel module? Sorry I don't know anything about kernel development.
alex commented
I have no idea if the kernel supports extending BPF in the way you suggest.
…On Mon, Feb 1, 2021 at 5:44 PM David Craven ***@***.***> wrote:
So this could fundamentally not be built using an out of tree kernel module? Sorry I don't know anything about kernel development.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
--
All that is necessary for evil to succeed is for good people to do nothing.
dvc94ch commented
Ok thanks