aboutcode-org / scancode-toolkit

:mag: ScanCode detects licenses, copyrights, dependencies by "scanning code" ... to discover and inventory open source and third-party packages used in your code. Sponsored by NLnet project https://nlnet.nl/project/vulnerabilitydatabase, the Google Summer of Code, Azure credits, nexB and others generous sponsors!
https://github.com/aboutcode-org/scancode-toolkit/releases/
2.07k stars 536 forks source link

cc0 false positive #3222

Open armijnhemel opened 1 year ago

armijnhemel commented 1 year ago

Description

Some Linux kernel files (not mainline, but from vendors) contain patterns that trigger a CC0 false positive

"matched_text": "#define nlm_write_c2_cc0(s, v)\t\t__write_32bit_c2_register($16, s, v)"

System configuration

armijnhemel commented 1 year ago

fmn.zip

Source code test file