Fix/lints in master (#2589)

* requirements: fix yanked protobuf version

* binja: insn: fix lints
This commit is contained in:
Willi Ballenthin
2025-02-04 12:08:24 +01:00
committed by GitHub
parent ced9516bb4
commit 5467fac1a5
2 changed files with 6 additions and 6 deletions

View File

@@ -11,12 +11,12 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from typing import Any, Optional
from collections.abc import Iterator
from typing import Any, Iterator, Optional
from binaryninja import Function
from binaryninja import BasicBlock as BinjaBasicBlock
import binaryninja as bn
from binaryninja import (
Function,
BinaryView,
ILRegister,
SymbolType,
@@ -323,7 +323,7 @@ def extract_insn_offset_features(
yield from results
def is_nzxor_stack_cookie(f: Function, bb: BinjaBasicBlock, llil: LowLevelILInstruction) -> bool:
def is_nzxor_stack_cookie(f: Function, bb: bn.BasicBlock, llil: LowLevelILInstruction) -> bool:
"""check if nzxor exists within stack cookie delta"""
# TODO(xusheng): use LLIL SSA to do more accurate analysis
# https://github.com/mandiant/capa/issues/1609

View File

@@ -22,7 +22,7 @@ msgpack==1.0.8
networkx==3.4.2
pefile==2024.8.26
pip==25.0
protobuf==5.29.0
protobuf==5.29.3
pyasn1==0.5.1
pyasn1-modules==0.3.0
pycparser==2.22