microsoft / microsoft/ebpf-for-windows

BPF programs with static initializers doesn't work on the JIT path

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

Description

BPF programs that statically initialize map values are not handled correctly in the JIT and INTERPRET cases.

Program is correctly loaded from the ELF file, but initial values aren't updated.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how statically initialized map values move from the ELF loader into the JIT and INTERPRET paths. Compare both paths when loading the BPF program, and consider the issue done when initial map values are updated correctly in each case.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.