« Back to documentation index 
    
Hook Class Reference 
Detailed Description 
A compiler class that may be hooked Definition at line 62  of file hooks.py .
Member Function Documentation 
      
        
          def get_cmdline_assembler  
          ( 
            
           self ,  
         
        
            
           cmdline   
         
        
          ) 
           
      
 
Get the assmebler command line after running all hooks
Positional arguments:
cmdline - the initial command line
 Definition at line 197  of file hooks.py .
 
 
      
        
          def get_cmdline_binary  
          ( 
            
           self ,  
         
        
            
           cmdline   
         
        
          ) 
           
      
 
Get the binary command line after running all hooks
Positional arguments:
cmdline - the initial command line
 Definition at line 205  of file hooks.py .
 
 
      
        
          def get_cmdline_compiler  
          ( 
            
           self ,  
         
        
            
           cmdline   
         
        
          ) 
           
      
 
Get the compiler command line after running all hooks
Positional arguments:
cmdline - the initial command line
 Definition at line 181  of file hooks.py .
 
 
      
        
          def get_cmdline_linker  
          ( 
            
           self ,  
         
        
            
           cmdline   
         
        
          ) 
           
      
 
Get the linker command line after running all hooks
Positional arguments:
cmdline - the initial command line
 Definition at line 189  of file hooks.py .
 
 
      
        
          def hook_add_assembler  
          ( 
            
           self ,  
         
        
            
           hook_step ,  
         
        
            
           function   
         
        
          ) 
           
      
 
Add a hook to the assemble
Positional Arguments:
hook_step - one of the _HOOK_STEPS
function - the function to add to the list of hooks
 Definition at line 105  of file hooks.py .
 
 
      
        
          def hook_add_binary  
          ( 
            
           self ,  
         
        
            
           hook_step ,  
         
        
            
           function   
         
        
          ) 
           
      
 
Add a hook to the elf to binary tool
Positional Arguments:
hook_step - one of the _HOOK_STEPS
function - the function to add to the list of hooks
 Definition at line 114  of file hooks.py .
 
 
      
        
          def hook_add_compiler  
          ( 
            
           self ,  
         
        
            
           hook_step ,  
         
        
            
           function   
         
        
          ) 
           
      
 
Add a hook to the compiler
Positional Arguments:
hook_step - one of the _HOOK_STEPS
function - the function to add to the list of hooks
 Definition at line 87  of file hooks.py .
 
 
      
        
          def hook_add_linker  
          ( 
            
           self ,  
         
        
            
           hook_step ,  
         
        
            
           function   
         
        
          ) 
           
      
 
Add a hook to the linker
Positional Arguments:
hook_step - one of the _HOOK_STEPS
function - the function to add to the list of hooks
 Definition at line 96  of file hooks.py .
 
 
      
        
          def hook_cmdline_assembler  
          ( 
            
           self ,  
         
        
            
           function   
         
        
          ) 
           
      
 
Add a hook to the assembler command line
Positional arguments:
function - the function to call
 Definition at line 152  of file hooks.py .
 
 
      
        
          def hook_cmdline_binary  
          ( 
            
           self ,  
         
        
            
           function   
         
        
          ) 
           
      
 
Add a hook to the elf to bin tool command line
Positional arguments:
function - the function to call
 Definition at line 160  of file hooks.py .
 
 
      
        
          def hook_cmdline_compiler  
          ( 
            
           self ,  
         
        
            
           function   
         
        
          ) 
           
      
 
Add a hook to the compiler command line
Positional arguments:
function - the function to call
 Definition at line 136  of file hooks.py .
 
 
      
        
          def hook_cmdline_linker  
          ( 
            
           self ,  
         
        
            
           function   
         
        
          ) 
           
      
 
Add a hook to the linker command line
Positional arguments:
function - the function to call
 Definition at line 144  of file hooks.py .