capa/scripts
vibhatsu 2798d605bc
add lint for duplicate feature under a statement (#2573)
* add lint for duplicate feature under a statement

* add support for more scopes

* fix format for duplicate feature lint

* fix false positives for duplicate features lint

* remove unused code and comments

Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>

* refactor duplicate feature lint to use yaml parser

Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>

* update CHANGELOG

Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>

* clarify for using rule definition

Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>

* update CHANGELOG

Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>

* refactor duplicate feature lint to improve key generation and tracking of line numbers

Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>

---------

Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>
2025-01-31 10:05:53 +01:00
..
bulk-process.py capabilities: use dataclasses to represent complicated return types 2025-01-29 02:25:06 -07:00
cache-ruleset.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
capa-as-library.py capabilities: use dataclasses to represent complicated return types 2025-01-29 02:25:06 -07:00
capa2sarif.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
capa2yara.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
capafmt.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
compare-backends.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
detect-backends.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
detect-binexport2-capabilities.py capabilities: use dataclasses to represent complicated return types 2025-01-29 02:25:06 -07:00
detect-elf-os.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
detect_duplicate_features.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
import-to-bn.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
import-to-ida.py capabilities: use dataclasses to represent complicated return types 2025-01-29 02:25:06 -07:00
inspect-binexport2.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
lint.py add lint for duplicate feature under a statement (#2573) 2025-01-31 10:05:53 +01:00
linter-data.json
match-function-id.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
minimize_vmray_results.py vmray: loosen file checks to enable processing of additional file types (#2571) 2025-01-23 12:47:36 -07:00
profile-memory.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
profile-time.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
proto-from-results.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
proto-to-results.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
setup-linter-dependencies.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
show-capabilities-by-function.py capabilities: use dataclasses to represent complicated return types 2025-01-29 02:25:06 -07:00
show-features.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
show-unused-features.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00