Lines Matching refs:args

398     std::vector<std::string> args;  in Assemble()  local
400 args.push_back(GetAssemblerCommand()); in Assemble()
401 args.push_back("-o"); in Assemble()
402 args.push_back(to_file); in Assemble()
403 args.push_back(from_file); in Assemble()
405 return Exec(args, error_msg); in Assemble()
418 std::vector<std::string> args; in Objdump() local
420 args.push_back(GetObjdumpCommand()); in Objdump()
421 args.push_back(file); in Objdump()
422 args.push_back(">"); in Objdump()
423 args.push_back(file+".dump"); in Objdump()
424 std::string cmd = Join(args, ' '); in Objdump()
426 args.clear(); in Objdump()
427 args.push_back("/bin/sh"); in Objdump()
428 args.push_back("-c"); in Objdump()
429 args.push_back(cmd); in Objdump()
431 if (!Exec(args, &error_msg)) { in Objdump()
494 std::vector<std::string> args; in DisassembleBinary() local
496 args.push_back(GetDisassembleCommand()); in DisassembleBinary()
497 args.push_back(file); in DisassembleBinary()
498 args.push_back("| sed -n \'/<.data>/,$p\' | sed -e \'s/.*://\'"); in DisassembleBinary()
499 args.push_back(">"); in DisassembleBinary()
500 args.push_back(file+".dis"); in DisassembleBinary()
501 std::string cmd = Join(args, ' '); in DisassembleBinary()
503 args.clear(); in DisassembleBinary()
504 args.push_back("/bin/sh"); in DisassembleBinary()
505 args.push_back("-c"); in DisassembleBinary()
506 args.push_back(cmd); in DisassembleBinary()
508 return Exec(args, error_msg); in DisassembleBinary()
644 std::vector<std::string> args; in FindTool() local
645 args.push_back("find"); in FindTool()
646 args.push_back(gcc_path); in FindTool()
647 args.push_back("-name"); in FindTool()
648 args.push_back(GetArchitectureString() + "*" + tool_name); in FindTool()
649 args.push_back("|"); in FindTool()
650 args.push_back("sort"); in FindTool()
651 args.push_back("|"); in FindTool()
652 args.push_back("tail"); in FindTool()
653 args.push_back("-n"); in FindTool()
654 args.push_back("1"); in FindTool()
656 args.push_back(">"); in FindTool()
657 args.push_back(tmp_file); in FindTool()
658 std::string sh_args = Join(args, ' '); in FindTool()
660 args.clear(); in FindTool()
661 args.push_back("/bin/sh"); in FindTool()
662 args.push_back("-c"); in FindTool()
663 args.push_back(sh_args); in FindTool()
666 if (!Exec(args, &error_msg)) { in FindTool()