llnl / llnl/UnifyFS

check for all elements of wrapped function in gotcha

Open
#70 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
122
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Make sure there is a warning if any of the required elements for a wrapped function are missing. For instance, if a prototype for a wrapped function is declared, but it is not added to the gotcha struct that function will not be intercepted.

Things to check:

  • Each wrapped function prototype also has a pointer to the original function defined and visible to the gotcha struct
  • The number of wrapped functions should match the number of functions defined in the gotcha struct

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the wrapped-function prototypes, their original-function pointers, and the gotcha struct in the repository, then compare how these elements are declared and registered. Add warnings for missing pointers or mismatched function counts, and verify that incomplete wrapped-function definitions are reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.