We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f6c2ac commit ba46831Copy full SHA for ba46831
src/bap/bir.py
@@ -5,6 +5,7 @@
5
from collections import Sequence,Mapping
6
from .adt import *
7
from .bil import *
8
+from . import noeval_parser
9
10
11
class Project(ADT) :
@@ -363,4 +364,4 @@ def parse_addr(str):
363
364
365
def loads(s):
366
"loads bir object from string"
- return eval(s)
367
+ return noeval_parser.parser(s)
src/bap/noeval_parser.py
@@ -8,7 +8,7 @@
import sys
import time
-from . import bir
+# NOTE: uses bap.bir, but cannot import at module level (circular references)
12
13
14
def toint(string, start, end):
0 commit comments