mirror of
https://github.com/mandiant/capa.git
synced 2025-12-22 07:10:29 -08:00
revert bninja change
This commit is contained in:
4
.github/ruff.toml
vendored
4
.github/ruff.toml
vendored
@@ -1,6 +1,6 @@
|
|||||||
select = ["E"]
|
select = ["E"]
|
||||||
ignore = ["E402", "E722", "E902"]
|
ignore = ["E402", "E722"]
|
||||||
exclude = ["*_pb2.py", "*_pb2.pyi", "capa2yara.py"]
|
exclude = ["*_pb2.py", "*_pb2.pyi"]
|
||||||
|
|
||||||
# Same as pycodestyle.
|
# Same as pycodestyle.
|
||||||
line-length = 180
|
line-length = 180
|
||||||
|
|||||||
@@ -439,7 +439,7 @@ def extract_insn_peb_access_characteristic_features(
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
value = right.value.value
|
value = right.value.value
|
||||||
if (reg, value) not in (("fsbase", 48), ("gsbase", 96)):
|
if not (reg, value) in (("fsbase", 0x30), ("gsbase", 0x60)):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
results.append((Characteristic("peb access"), ih.address))
|
results.append((Characteristic("peb access"), ih.address))
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -74,7 +74,7 @@ setuptools.setup(
|
|||||||
"pytest-instafail==0.5.0",
|
"pytest-instafail==0.5.0",
|
||||||
"pytest-cov==4.0.0",
|
"pytest-cov==4.0.0",
|
||||||
"pycodestyle==2.10.0",
|
"pycodestyle==2.10.0",
|
||||||
"ruff==0.0.259",
|
"ruff==0.0.260",
|
||||||
"black==23.3.0",
|
"black==23.3.0",
|
||||||
"isort==5.11.4",
|
"isort==5.11.4",
|
||||||
"mypy==1.1.1",
|
"mypy==1.1.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user