Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Recording the Git hash at configure time

The Git hash of a commit uniquely determines the state of the source code in a Git repository. Therefore, to uniquely brand the executable, we will burn the Git hash into the executable by recording the hash string in a header file that can be included and used at the right place in the code.