Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some wrong on install #19

Open
MuRKuo opened this issue Oct 23, 2021 · 1 comment
Open

some wrong on install #19

MuRKuo opened this issue Oct 23, 2021 · 1 comment

Comments

@MuRKuo
Copy link

MuRKuo commented Oct 23, 2021

I use the installPin.sh to install Pin ,but whern i run the python3 pinCTF.py -f examples/wyvern_c85f1be480808a9da350faaa6104a19b -il -l obj-intel64/ -c 30
something is error ,i install the package for need at first ,but it still occur

┌─(/home/mosen/Desktop/PinCTF)────────────────────────────(ROOT@ubuntu:pts/0)─┐
└─(06:09:36 on master ✭)──> python3 pinCTF.py -f examples/wyvern_c85f1be480808a9da350faaa6104a19b -il -l obj-intel64/ -c 30
sh: 1: sh: 1: /pin: not found
/pin: not found
sh: 1: /pin: not found
sh: 1: /pin: not found
sh: echo: I/O error
sh: 1: /pin: not found
sh: echo: I/O error
multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "pinCTF.py", line 450, in runThreadedCommandWrapper
    return runThreadedCommand(mapped_data[0], mapped_data[1], mapped_data[2], mapped_data[3], mapped_data[4], mapped_data[5], mapped_data[6])
  File "pinCTF.py", line 466, in runThreadedCommand
    count = sendPinInputCommandThread(pin,library,binary,path,item)
  File "pinCTF.py", line 204, in sendPinInputCommandThread
    count = readCount("pin_{}/inscount.out".format(ident))
  File "pinCTF.py", line 144, in readCount
    inscountFile = open(inscountFileName)
FileNotFoundError: [Errno 2] No such file or directory: 'pin_A/inscount.out'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "pinCTF.py", line 469, in <module>
    main()
  File "pinCTF.py", line 96, in main
    inputLengthTuple = pinLength(pinLocation,libraryLocation,args.file,count,arg=False, multi_core=int(args.threadCount))
  File "pinCTF.py", line 221, in pinLength
    for i in m_pool.imap_unordered(runThreadedCommandWrapper, arg_list):
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 735, in next
    raise value
FileNotFoundError: [Errno 2] No such file or directory: 'pin_A/inscount.out'
sh: 1: /pin: not found
sh: echo: I/O error
sh: 1: /pin: not found
@MuRKuo
Copy link
Author

MuRKuo commented Oct 23, 2021

└─(06:13:49 on master ✭)──> python3 --version                                                                                                                              ──(Sat,Oct23)─┘
Python 3.6.9
┌─(/home/mosen/Desktop/PinCTF)───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(ROOT@ubuntu:pts/0)─┐
└─(06:16:15 on master ✭)──> pip3 --version                                                                                                                                 ──(Sat,Oct23)─┘
pip 21.2.4 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)

this is my pip and python version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant