Closed cL0und closed 3 years ago
For angr, we added function_prologue_matching_addrs
to collect function starts which are found by function prologue. Comment this out is fine to extract CFG of angr.
For bap, please install this plugin to use the pass with-no-return
.
Thanks for your prompt reply,I have solved the first item, whereas I meet a few problems when I compiled plugins.I think I will fix it. Happy mid-autumn ;)
I have solved the plugin problem, but it raises another error info. BTW my bap version is 2.3.0.
I have solved it, think you.Beside I want to know how to use dyninst disassemblers?Is there any tutorial? Need I download relative lib in the same dir with dyninstBB.cpp?
Ok, Iet me have a try. I had installed it by spark at the first.
Your Makefile seems to have grammar error about missing separator,I replace space with tab. However the process raise desperate output.There are thousands of errors which can not copy all of them.Like this.
Hello, I add the instructions to build dyninst.
The errors above seems that the protobuf issues. What is the version of protoc? Mine is 3.17.2
Finally,I degrade version to yours and reconstruct C file from pb. It's been pretty well worked out.Thanks for your help, it's really a long journey.
Hi, it's me again.
When I used angrBlocks.py, the script raised AttributeError and it seems like that CFGFast of official lib don't have this attribute.
And when I used bap script,it also raise error,ad it seems like bap have't the with-no-return plugin by default.
So, Did you do some secondary development? How can I fix the problems?