iovisor / iovisor/gobpf

NewModule() should return an error instead of just one pointer (a bit difficult to check failure)

Open
#320 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.2k
Forks
308
PR merge metrics
No merged PRs in 30d

Description

Usual pattern is to return nil, error
But the API now only returns one pointer

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by locating NewModule and its callers, then inspect how module-creation failures are currently represented. Done means the API exposes an error alongside the pointer and its callers handle the failure path consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.