Skip to content

A small C parser to extract functions from C/Cpp source files

Notifications You must be signed in to change notification settings

tspits/parserClang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

parserClang

A very basic C parser to extract functions from C/Cpp source files. This is a prototype (no solid error handling, modular code, etc).

Installation

Run the following commands:

pip3 install clang 
cd /usr/lib/x86_64-linux-gnu/
sudo ln -s libclang-X.Y.so.1 libclang.so (X.Y the version number)

Run

python3 parserClang.py <filepath>

where filepath can be a repository/folder or a file (c/cpp/h/hpp)

About

A small C parser to extract functions from C/Cpp source files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%