Skip to content

Commit

Permalink
silence deprecation warnings in foreign libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
huettenhain committed Nov 30, 2023
1 parent 9e8a9d8 commit 2a4d786
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion refinery/units/formats/exe/vstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from refinery.lib.executable import align, Arch, BO, Executable, Range, ExecutableCodeBlob
from refinery.lib.types import bounds, INF
from refinery.lib.meta import SizeInt
from refinery.lib.tools import NoLogging

from dataclasses import dataclass, field

Expand Down Expand Up @@ -71,7 +72,8 @@ def _intervaltree():

@Unit.Requires('unicorn', 'default', 'extended')
def _unicorn():
import unicorn
with NoLogging():
import unicorn
import unicorn.x86_const
import unicorn.arm64_const
import unicorn.mips_const
Expand Down

0 comments on commit 2a4d786

Please sign in to comment.