mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 23:59:48 -08:00
scripts: fix types
This commit is contained in:
@@ -17,8 +17,7 @@ from capa.engine import *
|
||||
RULES_PATH = "/tmp/capa/rules/"
|
||||
|
||||
# load rules from disk
|
||||
rules = capa.main.get_rules(RULES_PATH, disable_progress=True)
|
||||
rules = capa.rules.RuleSet(rules)
|
||||
rules = capa.rules.RuleSet(capa.main.get_rules(RULES_PATH, disable_progress=True))
|
||||
|
||||
# == Render ddictionary helpers
|
||||
def render_meta(doc, ostream):
|
||||
|
||||
@@ -26,6 +26,7 @@ import os
|
||||
import json
|
||||
|
||||
from binaryninja import *
|
||||
from binaryninja import PluginCommand
|
||||
|
||||
|
||||
def append_func_cmt(bv, va, cmt):
|
||||
|
||||
Reference in New Issue
Block a user