Skip to content

vigial/source-mapping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

source-mapping

Source mapping utility for C style code.

Examples

Some examples can be found in examples folder. The compiler used to test the library has been g++.

Purpose

This library provides some classes and functions to extract information of used namespaces and called functions in each defined function in the provided source codes. Also, facilite create a dependence graph in dot format that can be ploted, for example, with graphviz library.

alt text

Limitations

At the moment, the library has the following known limitations,

  • Can distinguish between overload function declaration (functions with same name but diferent aguments), but can't distinguish which overload has been called.
  • If the function is in a namespace or is a class member, the namespace/class will be part of defined function name (namespace::fname()). Because that, when check called functions, only the functions called specifying the namespace will be identified as a namespace::fname call. This provoque that if "using namespace" statment is used on namespaces with defined functions, the call to that functions will not be identified correctly.
  • Only C/C++ code style is supported at this moment.

Documentation

Library documentation can be found in the following link,

https://vigial.github.io/source-mapping/

About

Source mapping utility for C style code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages