mirror of
https://github.com/mandiant/capa.git
synced 2025-12-21 23:00: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"]
|
||||
ignore = ["E402", "E722", "E902"]
|
||||
exclude = ["*_pb2.py", "*_pb2.pyi", "capa2yara.py"]
|
||||
ignore = ["E402", "E722"]
|
||||
exclude = ["*_pb2.py", "*_pb2.pyi"]
|
||||
|
||||
# Same as pycodestyle.
|
||||
line-length = 180
|
||||
|
||||
@@ -439,7 +439,7 @@ def extract_insn_peb_access_characteristic_features(
|
||||
return True
|
||||
|
||||
value = right.value.value
|
||||
if (reg, value) not in (("fsbase", 48), ("gsbase", 96)):
|
||||
if not (reg, value) in (("fsbase", 0x30), ("gsbase", 0x60)):
|
||||
return True
|
||||
|
||||
results.append((Characteristic("peb access"), ih.address))
|
||||
|
||||
Reference in New Issue
Block a user