Demo entry 6733277

fuck

   

Submitted by zjy on Apr 17, 2018 at 13:30
Language: C. Code size: 678 Bytes.

while(fscanf(trace_fp,"%c%llx,%u",&cmd,&addr,&len)!=EOF)  
    {  
        if(cmd=='I')  
        {  
            continue;    
        }  
        else if(cmd=='S'||cmd=='L')  
        {  
            if(verbosity)  
                printf("%c %llx,%u ", cmd,addr,len);  
            accessData(addr);  
            if(verbosity)  
                printf("\n");  
        }  
        else if(cmd=='M')  
        {  
            if(verbosity)  
                printf("%c %llx,%u ", cmd,addr,len);  
            accessData(addr);  
            accessData(addr);  
            if(verbosity)  
                printf("\n");  
        }  
          
    }  

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).