Skip to content

Commit 6783a4d

Browse files
Merge pull request #1439 from SchiJoha/master
Fix context gas in g2html
2 parents a84e07d + abb8217 commit 6783a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/framework/constraints.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ struct
518518
struct
519519
include Lattice.Prod (Base1) (Base2)
520520
let printXml f (x,y) =
521-
BatPrintf.fprintf f "<value>\n<map>\n<key>\n%s\n</key>\n%a<key>\nContext Gas Value\n</key>\n%a</map>\n</value>\n" (XmlUtil.escape (Base1.name ())) Base1.printXml x Base2.printXml y
521+
BatPrintf.fprintf f "\n%a<analysis name=\"context gas value\">\n%a\n</analysis>" Base1.printXml x Base2.printXml y
522522
end
523523
module D = Context_Gas_Prod (S.D) (Lattice.Chain (IntConf)) (* Product of S.D and an integer, tracking the context gas value *)
524524
module C = Printable.Option (S.C) (NoContext)

0 commit comments

Comments
 (0)