@@ -113,9 +113,6 @@ class Base:
113
113
# Caching
114
114
_cached_encoded_name : bytes | None
115
115
116
- # Extra information
117
- _uninitialized : bool
118
-
119
116
__slots__ = [
120
117
"op" ,
121
118
"args" ,
@@ -129,7 +126,6 @@ class Base:
129
126
"_relocatable_annotations" ,
130
127
"_errored" ,
131
128
"_cached_encoded_name" ,
132
- "_uninitialized" ,
133
129
"__weakref__" ,
134
130
]
135
131
@@ -144,7 +140,6 @@ def __new__( # pylint:disable=redefined-builtin
144
140
symbolic : bool | None = None ,
145
141
variables : frozenset [str ] | None = None ,
146
142
errored : set [Backend ] | None = None ,
147
- uninitialized : bool = False ,
148
143
annotations : tuple [Annotation , ...] = (),
149
144
skip_child_annotations : bool = False ,
150
145
length : int | None = None ,
@@ -218,7 +213,6 @@ def __new__( # pylint:disable=redefined-builtin
218
213
symbolic = symbolic ,
219
214
length = length ,
220
215
errored = errored ,
221
- uninitialized = uninitialized ,
222
216
annotations = annotations ,
223
217
encoded_name = encoded_name ,
224
218
depth = depth ,
@@ -241,7 +235,6 @@ def make_like(
241
235
annotations : tuple [Annotation , ...] | None = None ,
242
236
variables : frozenset [str ] | None = None ,
243
237
symbolic : bool | None = None ,
244
- uninitialized : bool = False ,
245
238
skip_child_annotations : bool = False ,
246
239
length : int | None = None ,
247
240
) -> Self :
@@ -254,7 +247,6 @@ def make_like(
254
247
and annotations
255
248
and variables is None
256
249
and symbolic is None
257
- and uninitialized is False
258
250
and skip_child_annotations
259
251
and length is not None
260
252
):
@@ -282,7 +274,6 @@ def make_like(
282
274
symbolic = self .symbolic ,
283
275
annotations = annotations ,
284
276
length = length ,
285
- uninitialized = self ._uninitialized ,
286
277
)
287
278
288
279
result ._hash = h
@@ -297,8 +288,6 @@ def make_like(
297
288
annotations = self .annotations if not args or not any (self is arg for arg in args ) else ()
298
289
if variables is None and op in all_operations :
299
290
variables = self .variables
300
- if uninitialized is None :
301
- uninitialized = self ._uninitialized
302
291
if symbolic is None and op in all_operations :
303
292
symbolic = self .symbolic
304
293
@@ -307,7 +296,6 @@ def make_like(
307
296
args if simplified is None else simplified .args ,
308
297
annotations = annotations ,
309
298
variables = variables ,
310
- uninitialized = uninitialized ,
311
299
symbolic = symbolic ,
312
300
skip_child_annotations = skip_child_annotations ,
313
301
length = length ,
@@ -322,7 +310,6 @@ def __a_init__(
322
310
symbolic : bool | None = None ,
323
311
length : int | None = None ,
324
312
errored : set [Backend ] | None = None ,
325
- uninitialized : bool = False ,
326
313
annotations : tuple [Annotation , ...] | None = None ,
327
314
encoded_name : bytes | None = None ,
328
315
depth : int | None = None ,
@@ -353,8 +340,6 @@ def __a_init__(
353
340
354
341
self ._errored = errored if errored is not None else set ()
355
342
356
- self ._uninitialized = uninitialized
357
-
358
343
if len (self .args ) == 0 :
359
344
raise ClaripyOperationError ("AST with no arguments!" )
360
345
@@ -963,16 +948,3 @@ def cardinality(self) -> int:
963
948
@property
964
949
def concrete (self ) -> bool :
965
950
return not self .symbolic
966
-
967
- @property
968
- def uninitialized (self ) -> bool :
969
- """
970
- Whether this AST comes from an uninitialized dereference or not. It's only used in under-constrained symbolic
971
- execution mode.
972
-
973
- :returns: True/False/None (unspecified).
974
- """
975
-
976
- # TODO: It should definitely be moved to the proposed Annotation backend.
977
-
978
- return self ._uninitialized
0 commit comments