Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove special identical implementation for BV #517

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions claripy/ast/bv.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
import logging
import numbers
import weakref
from contextlib import suppress

from typing_extensions import Self

import claripy
from claripy import operations
from claripy.ast.base import _make_name
from claripy.errors import BackendError, ClaripyValueError
from claripy.errors import ClaripyValueError
from claripy.util import deprecated

from .bits import Bits
Expand Down Expand Up @@ -190,11 +187,6 @@ def raw_to_bv(self):
def to_bv(self):
return self.raw_to_bv()

def identical(self, other: Self, strict=False) -> bool:
with suppress(BackendError):
return claripy.backends.vsa.convert(self).identical(claripy.backends.vsa.convert(other))
return super().identical(other, strict)


def BVS( # pylint:disable=redefined-builtin
name,
Expand Down
Loading