Skip to content

Mortal/winheaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage: python includes.py library_includes application_includes winheaders.txt

The script includes.py finds out what application files include library headers that transitively includes windows.h or another Windows header.

library_includes is the output from grep -R -n include . in the directory specified by Boost as the include dir. boost-1_44_64_includes.txt is an example (Boost 1.44 on Windows 64-bit).

application_includes is the output from grep -R -n include . in your application directory. app_includes.txt is an example (TPIE).

winheaders.txt contains the offending headers (for instance the headers in the Windows API).

The script computes the include edges in each specified grep include file, and computes the transitive closure from the winheaders to library headers. Then for each library header that transitively includes a winheader, if that header is included by an application file, this is reported.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages