fiberx / fiber

Source-binary patch presence test system.
BSD 2-Clause "Simplified" License
80 stars 37 forks source link

ImportError:No module named knowledge.codenode #8

Open forget-yester opened 4 years ago

forget-yester commented 4 years ago

There is an ImportError:No module named knowledge.codenode. Every way has been tried ( including pip install angr and knowledge and codenode ). But all the time the error is exist. Is this a self-defined import?

cpumask commented 4 years ago

Hi, I believe the module you mentioned belongs to Angr (https://github.com/fiberx/angr-fiber/blob/fiber/angr/knowledge/codenode.py), which is not defined by us. However, it may not work to solve the issue w/ "pip install angr" since the angr used by fiber is a specific old (and customized) version, I think "pip install" simply installs the latest angr version which should not work for fiber.

To deploy the customized angr for fiber you should follow the instructions in the fiber document (https://github.com/fiberx/fiber#0x1-environment-setup), I suggest you make a clean install following those instructions to see whether there are still issues. To me it seems like a issue related to your enviroment setup.

Thanks