You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAIL mimikatz-function=0x4011FB-offset(-0x1)-True
Traceback (most recent call last):
File "C:/Exclusions/capa-4.0.1/tests/test_ida_features.py", line 61, in test_ida_features
fixtures.do_test_feature_presence(get_ida_extractor, sample, scope, feature, expected)
File "C:\Exclusions/capa-4.0.1/tests\fixtures.py", line 792, in do_test_feature_presence
assert feature.evaluate(features) == expected, msg
AssertionError: offset(-0x1) should be found in function=0x4011FB
FAIL mimikatz-function=0x4011FB-offset(-0x2)-True
Traceback (most recent call last):
File "C:/Exclusions/capa-4.0.1/tests/test_ida_features.py", line 61, in test_ida_features
fixtures.do_test_feature_presence(get_ida_extractor, sample, scope, feature, expected)
File "C:\Exclusions/capa-4.0.1/tests\fixtures.py", line 792, in do_test_feature_presence
assert feature.evaluate(features) == expected, msg
AssertionError: offset(-0x2) should be found in function=0x4011FB
The text was updated successfully, but these errors were encountered:
Displacement is 32-bit in 32-bit IDA. I'm guessing ea_t is 32-bit in 32-bit IDA and 64-bit in 64-bit IDA and because ea_t is used for displacement the displacement is 64-bit (even though we assume 32-bit displacement).
IDA >= 8.2 is 64-bit only so we can expect this issue to persist. We assume 32-bit displacement based on discussions here so we can simply mask the offset.
capa v4.0.1
The text was updated successfully, but these errors were encountered: