1. Carl Pulley
  2. libbap

Commits

Carl Pulley  committed fbb841b

updated bap patch to wrap attribute lines in dot file

  • Participants
  • Parent commits 219c988
  • Branches master

Comments (0)

Files changed (2)

File bap-0.7.patch

View file
  • Ignore whitespace
    let () = if opts then (
  
 diff --git a/ocaml/pp.ml b/ocaml/pp.ml
-index 87c5d76..29c860f 100644
+index 87c5d76..e1b1c0a 100644
 --- a/ocaml/pp.ml
 +++ b/ocaml/pp.ml
 @@ -14,19 +14,30 @@ module F = Format
 +  | [b] -> 
 +      self#attr b
 +  | b :: bs -> 
-+      self#attr b; List.iter (fun a -> space();self#attr a) bs
++      self#attr b; List.iter (fun a -> space();self#attr a; if html_output then pp "<br />") bs
  
    method attr = function
 -    | Asm s -> pp "@asm \""; pp s; pp "\""

File setup.py

View file
  • Ignore whitespace
         if not os.path.exists(self.build_temp):
           os.makedirs(self.build_temp)
         # DEBUG:
-        shutil.copyfile("/home/bagpuss/{0}".format(BAPTAR), "{0}/{1}".format(self.build_temp, BAPTAR))
+        shutil.copyfile("/home/carlpulley/{0}".format(BAPTAR), "{0}/{1}".format(self.build_temp, BAPTAR))
         #FancyURLopener().retrieve(BAPURL, "{0}/{1}".format(self.build_temp, BAPTAR), reporthook=progress)
     
     # check downloaded SHA1 against BAPSHA1