microsoft / microsoft/ebpf-for-windows

Code generated by bpf2c should permit viewing local variables when debugging

Open
#893 3 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted triaged
Dominant language
C
Stars
3.6k
Forks
311
Avg merge
6d 10h
Merged PRs (30d)
21

Description

Code generated by bpf2c permits source-level debugging of BPF programs but doesn't easily permit viewing local variables.

bpf2c should parse the dwarfv5 data and use data to do register -> local variable mapping for the debugger.

Contributor guide

Open the contributing guide

Research direction

Start by locating bpf2c and its source-level debugging output, then review how DWARFv5 data is currently handled. Define the register-to-local-variable mapping needed by the debugger and verify that generated BPF programs expose local variables during a debugging session.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.