More information for RVA deprecation

This commit is contained in:
Ange Albertini
2026-06-01 17:24:39 +02:00
committed by GitHub
parent 5917948849
commit a14b463541
+2 -1
View File
@@ -133,7 +133,8 @@ class RelativeVirtualAddress(int, Address):
"""a memory address relative to a base address"""
def __new__(cls, *args, **kwargs):
warnings.warn("RelativeVirtualAddress is deprecated", DeprecationWarning, stacklevel=2)
#TODO(corkamig): Removal for v3.5.0
warnings.warn("RelativeVirtualAddress is deprecated - cf issue #3072", DeprecationWarning, stacklevel=2)
return super().__new__(cls, *args, **kwargs)
def __repr__(self):