Skip to content

bap: too many arguments, don't know what to do with 'sysdatadir' #17

Open
@wudehua2016

Description

Note. Delete this message after you read it! If bap fails with an error, you have problems with installation, or need feedback, please use our main issue tracker. We reserve this one to track issues with tools capabilities. In the title, substitute:

  • spectre
  • - x86-64
  • - ubuntu 20.04
  • - bap 2.5.0
    follew the instructions from the webpage, but an errors was iuessed: bap: too many arguments, don't know what to do with 'sysdatadir'.
    attached is my command and log:

XXXX@XXXX-dell:~/bap/bap-toolkit$ make TARGET=spectre
sh build.sh clean spectre
sh build.sh build spectre
Entering directory `spectre'
bapbuild -pkgs bap,bap-primus,bap-taint,bap-future,graphlib ddtbd.plugin
+ ocamlfind ocamlc -c -g -thread -package graphlib -package bap-future -package bap-taint -package bap-primus -package bap -package ppx_bap -package core_kernel -o ddtbd.cmo ddtbd.ml
File "ddtbd.ml", line 216, characters 6-17:
216 |       Hashtbl.set cdoms (cnd,blk) answer;
            ^^^^^^^^^^^
Warning 6 [labels-omitted]: labels key, data were omitted in the application of this function.
File "ddtbd.ml", line 233, characters 4-15:
233 |     Hashtbl.set cdeps (cond,blk) depends;
          ^^^^^^^^^^^
Warning 6 [labels-omitted]: labels key, data were omitted in the application of this function.
+ ocamlfind ocamlopt -c -g -thread -package graphlib -package bap-future -package bap-taint -package bap-primus -package bap -package ppx_bap -package core_kernel -o ddtbd.cmx ddtbd.ml
File "ddtbd.ml", line 216, characters 6-17:
216 |       Hashtbl.set cdoms (cnd,blk) answer;
            ^^^^^^^^^^^
Warning 6 [labels-omitted]: labels key, data were omitted in the application of this function.
File "ddtbd.ml", line 233, characters 4-15:
233 |     Hashtbl.set cdeps (cond,blk) depends;
          ^^^^^^^^^^^
Warning 6 [labels-omitted]: labels key, data were omitted in the application of this function.
Finished, 20 targets (0 cached) in 00:00:04.
Leaving directory `spectre'
sh build.sh install spectre
bap: too many arguments, don't know what to do with 'sysdatadir'
Usage: bap disassemble [OPTION]… [FILE]
Try 'bap disassemble --help' or 'bap --help' for more information.

cp: missing destination file operand after 'spectre.recipe'
Try 'cp --help' for more information.
XXXX@XXXX-dell:~/bap/bap-toolkit$ 

how can i fix that??
thanks

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions