You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
CodeBro is a web based code browser, using clang AST parser to create cross-reference between
function calls. For those interested, all this idea came from Eli Bendersky's
website.
Parsing AST makes it easy to spot trivial bugs, and using callgraph
makes it easier to focus on potential exploitability on this bug.
It is NOT built in any way for production use and do not make it reachable
from public Internet or "You're gonna have a bad time" !
Disclaimer
Code is dirty;
Code is in release before-alpha, still under heavy development;
If something's not working properly, try to hack it yourself and only when
you're sure it's bug, file it;
X-refing and parsing are slow but won't over-charge your CPU;
I don't advise to parse and x-ref huge source code trees, a better approach
would be to split it into sub-projects;
That being said, if you still wanna go further, read below.
Requires
LLVM + Clang (with Python bindings)
Python 2.7+ (but not Python 3.x)
Django 1.5
PyDot + PyGraphViz (for graph generation)
Pygments (for syntax colorization)
dajax + dajaxice (for Ajax)
any DBMS compatible with Django (for data storage)
Install
codebro can be setup manually or as a bundle using docker. The latter is recommended as it makes the whole process of deployment totally automatic.