@@ -124,9 +124,6 @@ class Base:
124
124
# Caching
125
125
_cached_encoded_name : bytes | None
126
126
127
- # Extra information
128
- _uninitialized : bool
129
-
130
127
__slots__ = [
131
128
"op" ,
132
129
"args" ,
@@ -141,7 +138,6 @@ class Base:
141
138
"_relocatable_annotations" ,
142
139
"_errored" ,
143
140
"_cached_encoded_name" ,
144
- "_uninitialized" ,
145
141
"__weakref__" ,
146
142
]
147
143
@@ -156,7 +152,6 @@ def __new__( # pylint:disable=redefined-builtin
156
152
symbolic : bool | None = None ,
157
153
variables : frozenset [str ] | None = None ,
158
154
errored : set [Backend ] | None = None ,
159
- uninitialized : bool = False ,
160
155
annotations : tuple [Annotation , ...] = (),
161
156
skip_child_annotations : bool = False ,
162
157
length : int | None = None ,
@@ -230,7 +225,6 @@ def __new__( # pylint:disable=redefined-builtin
230
225
symbolic = symbolic ,
231
226
length = length ,
232
227
errored = errored ,
233
- uninitialized = uninitialized ,
234
228
annotations = annotations ,
235
229
encoded_name = encoded_name ,
236
230
depth = depth ,
@@ -253,7 +247,6 @@ def make_like(
253
247
annotations : tuple [Annotation , ...] | None = None ,
254
248
variables : frozenset [str ] | None = None ,
255
249
symbolic : bool | None = None ,
256
- uninitialized : bool = False ,
257
250
skip_child_annotations : bool = False ,
258
251
length : int | None = None ,
259
252
) -> Self :
@@ -266,7 +259,6 @@ def make_like(
266
259
and annotations
267
260
and variables is None
268
261
and symbolic is None
269
- and uninitialized is False
270
262
and skip_child_annotations
271
263
and length is not None
272
264
):
@@ -294,7 +286,6 @@ def make_like(
294
286
symbolic = self .symbolic ,
295
287
annotations = annotations ,
296
288
length = length ,
297
- uninitialized = self ._uninitialized ,
298
289
)
299
290
300
291
result ._hash = h
@@ -309,8 +300,6 @@ def make_like(
309
300
annotations = self .annotations if not args or not any (self is arg for arg in args ) else ()
310
301
if variables is None and op in all_operations :
311
302
variables = self .variables
312
- if uninitialized is None :
313
- uninitialized = self ._uninitialized
314
303
if symbolic is None and op in all_operations :
315
304
symbolic = self .symbolic
316
305
@@ -319,7 +308,6 @@ def make_like(
319
308
args if simplified is None else simplified .args ,
320
309
annotations = annotations ,
321
310
variables = variables ,
322
- uninitialized = uninitialized ,
323
311
symbolic = symbolic ,
324
312
skip_child_annotations = skip_child_annotations ,
325
313
length = length ,
@@ -335,7 +323,6 @@ def __a_init__(
335
323
length : int | None = None ,
336
324
simplified : SimplificationLevel = SimplificationLevel .UNSIMPLIFIED ,
337
325
errored : set [Backend ] | None = None ,
338
- uninitialized : bool = False ,
339
326
annotations : tuple [Annotation , ...] | None = None ,
340
327
encoded_name : bytes | None = None ,
341
328
depth : int | None = None ,
@@ -368,8 +355,6 @@ def __a_init__(
368
355
369
356
self ._simplified = simplified
370
357
371
- self ._uninitialized = uninitialized
372
-
373
358
if len (self .args ) == 0 :
374
359
raise ClaripyOperationError ("AST with no arguments!" )
375
360
@@ -1061,16 +1046,3 @@ def cardinality(self) -> int:
1061
1046
@property
1062
1047
def concrete (self ) -> bool :
1063
1048
return not self .symbolic
1064
-
1065
- @property
1066
- def uninitialized (self ) -> bool :
1067
- """
1068
- Whether this AST comes from an uninitialized dereference or not. It's only used in under-constrained symbolic
1069
- execution mode.
1070
-
1071
- :returns: True/False/None (unspecified).
1072
- """
1073
-
1074
- # TODO: It should definitely be moved to the proposed Annotation backend.
1075
-
1076
- return self ._uninitialized
0 commit comments