dead-code detector: FP on function pointer
Open
enhancement
false-positive
- Dominant language
- Python
- Stars
- 6.4k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
If a function is used as a function pointer, the `dead-code` detector will report FP
Contributor guide
Research direction
Start with the dead-code detector and reproduce the function-pointer case described in the issue, then inspect how function-pointer uses are classified. Done means the detector no longer reports a false positive for a function used as a function pointer, with a regression test covering that case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, solidity
- Domain
- devtools, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100