Closed cctv130 closed 6 months ago
To help you solve this issue, could you provide the version you tried to install: was it an official release or pre-release and which one? did you manually build on Windows? From the few information I see, it seems like you installed a linux version of bincat on windows, or you manually build on windows using WSL/Ubuntu (which is not supported).
I use this to install,Just use your compiled version of win. I am also very depressed about this mistake. I don't know the specific reason, maybe it is because of cygwin.
Ok, thank you for the information. I see that the documentation may not be up to date for the IDA plugin installation :/ We will need to update it.
In the mean time, could you reinstall the BinCAT IDA plugin by following these steps:
install_plugin.py
in the freshly unzipped archiveCould you follow exactly the steps described in our previous reply, especially steps 3 and 4 please? The installation process must have emitted some errors. We need the output log of the installation process, not a later one when you try to invoke bincat.
Thank you for this output.
It seems everything went all right during the installation :/
Maybe could you try to empty your plugin directory C:\Users\botao\AppData\Roaming\Hex-Rays\IDA Pro\plugins
and try to reinstall?
The reason for the problem you replied is a problem with the python virtual environment. The gcc error only occurs when I use the "bincat analyze from here" function.
Do you have the following package installed with cygwin?
mingw64-x86_64-gcc-g++
My computer does not have a cygwin environment. Do you mean that I need to install gcc on cygwin?
Yes
I use cygwin, the environment variables in the virtual environment are easy to conflict with the local environment variables. I don't know how to avoid this problem.
I have some difficulties to follow: do you have cygwin installed or not?
You only need a working gcc
command in your path actually.
Currently, cygwin is not installed. I installed it a few days ago. Because cygwin accesses the python of the physical system, the python in cygwin cannot be accessed, so I uninstalled cygwin. I don’t know how to solve this problem at the moment.
You only need a working
gcc
command in your path actually.
Could you managed to have any gcc in your path?
It would be great if there was a free Linux version of idapro, without the need for some complicated operations such as cygwin.
You only need a working
gcc
command in your path actually.Could you managed to have any gcc in your path?
Is there a way to block cygwin from accessing Windows environment variables? If so, gcc and python can make bincat do the job.
Do not know. Could we close this issue because it is not a bincat problem actually?
okay
IDA 8.3 python10 1、 WARNING:bincat.plugin:Could not find bincat binary, will not be able to run local analysis INFO:bincat.plugin:IDABinCAT ready. INFO:bincat.gui:Launching the analyzer INFO:bincat.plugin:Current analyzer path: C:\Users\wang\AppData\Local\Temp\tmpi2dydcnsbincat INFO:bincat.plugin.npkgen:Generating TNPK file in C:\Users\wang\AppData\Local\Temp\tmpjpnamac9bincat-generate-header INFO:bincat.plugin.npkgen:Calling 'gcc -P -E C:\Users\wang\AppData\Local\Temp\tmpjpnamac9bincat-generate-header\ida-generated.h' ERROR:bincat.plugin.npkgen:Error encountered while running gcc. Is it installed in PATH? WARNING:bincat.plugin:Could not compile header file, types from IDB will not be used for type propagation WARNING:bincat.plugin:.no file containing type data for the file being analyzed could not be generated, continuing. The ida-generated header could be invalid. ERROR:bincat.plugin:Analyzer error: Failed to start INFO:bincat.plugin:---- stdout ---------------- INFO:bincat.plugin:b'' INFO:bincat.plugin:---- stderr ---------------- INFO:bincat.plugin:b'' INFO:bincat.plugin:---- logfile --------------- INFO:bincat.plugin:====== end of logfile ====== ERROR:bincat.plugin:Could not parse result file INFO:bincat.plugin:Analyzer started.
2、The configuration file cannot be found after the plugin is installed automatically and needs to be inserted manually C:\Users\wang\AppData\Roaming\Hex-Rays\IDA Pro\plugins\idabincat\conf