File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ testsuite:
55
55
git clone https://github.com/BinaryAnalysisPlatform/bap-testsuite.git testsuite
56
56
57
57
check : testsuite
58
- make REVISION=ddb5e33ce1c -C testsuite
58
+ make REVISION=5909f59c5c29a7b143573bd49b8101a68ccded32 -C testsuite
59
59
60
60
.PHONY : indent check-style status-clean
61
61
Original file line number Diff line number Diff line change @@ -434,12 +434,14 @@ let mangle_name addr tid name =
434
434
435
435
let mangle_sub s =
436
436
let tid = Term. tid s in
437
- let addr = Term. get_attr s address in
437
+ let attrs = Term. attrs s in
438
+ let addr = Dict. find attrs address in
438
439
let name = mangle_name addr tid (Ir_sub. name s) in
439
440
set_name_if_possible tid name >> | fun () ->
440
- Ir_sub. create () ~tid ~name
441
- ~args: (Term. enum arg_t s |> Seq. to_list)
442
- ~blks: (Term. enum blk_t s |> Seq. to_list)
441
+ let s = Ir_sub. create () ~tid ~name
442
+ ~args: (Term. enum arg_t s |> Seq. to_list)
443
+ ~blks: (Term. enum blk_t s |> Seq. to_list) in
444
+ Term. with_attrs s attrs
443
445
444
446
let fix_names prog =
445
447
let is_new tid name =
You can’t perform that action at this time.
0 commit comments