=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== memtest86-4.3.7/main.c-279-#define MK_PTR(seg,off) ((void*)(((unsigned long)(seg) << 4) + (off))) memtest86-4.3.7/main.c:280:#define OLD_CL_MAGIC_ADDR ((unsigned short*) MK_PTR(INITSEG,0x20)) memtest86-4.3.7/main.c-281-#define OLD_CL_MAGIC 0xA33F memtest86-4.3.7/main.c:282:#define OLD_CL_OFFSET_ADDR ((unsigned short*) MK_PTR(INITSEG,0x22)) memtest86-4.3.7/main.c-283- ############################################## memtest86-4.3.7/main.c-952- if (cpu_id.fid.bits.rdtsc) { memtest86-4.3.7/main.c:953: asm __volatile__ ("rdtsc":"=a" (sp1),"=d" (sp2)); memtest86-4.3.7/main.c-954- } else { ############################################## memtest86-4.3.7/error.c-558- if (cpu_id.fid.bits.rdtsc) { memtest86-4.3.7/error.c:559: asm __volatile__( memtest86-4.3.7/error.c-560- "rdtsc":"=a" (l),"=d" (h)); memtest86-4.3.7/error.c:561: asm __volatile__ ( memtest86-4.3.7/error.c-562- "subl %2,%0\n\t" ############################################## memtest86-4.3.7/smp.h-291- /* Use monitor/mwait for a low power, low contention spin */ memtest86-4.3.7/smp.h:292: asm volatile( memtest86-4.3.7/smp.h-293- "movl $0,%%ecx\n\t" ############################################## memtest86-4.3.7/smp.h-308- int inc = 0x400; memtest86-4.3.7/smp.h:309: asm volatile( memtest86-4.3.7/smp.h-310- "1:\t" ############################################## memtest86-4.3.7/smp.h-324- /* Use monitor/mwait for a low power, low contention spin */ memtest86-4.3.7/smp.h:325: asm volatile( memtest86-4.3.7/smp.h-326- "\n1:\t" ############################################## memtest86-4.3.7/smp.h-344- int inc = 0x400; memtest86-4.3.7/smp.h:345: asm volatile( memtest86-4.3.7/smp.h-346- "\n1:\t" ############################################## memtest86-4.3.7/smp.h-361-{ memtest86-4.3.7/smp.h:362: asm volatile("movb $1,%0" : "+m" (lock->slock) :: "memory"); memtest86-4.3.7/smp.h-363-} ############################################## memtest86-4.3.7/cpuid.h-17- /* ecx is often an input as well as an output. */ memtest86-4.3.7/cpuid.h:18: asm volatile("\t" memtest86-4.3.7/cpuid.h-19- "push %%ebx; cpuid; mov %%ebx, %%edi; pop %%ebx" ############################################## memtest86-4.3.7/init.c-127- /* Record the start time */ memtest86-4.3.7/init.c:128: asm __volatile__ ("rdtsc":"=a" (v->startl),"=d" (v->starth)); memtest86-4.3.7/init.c-129- v->snapl = v->startl; ############################################## memtest86-4.3.7/init.c-864- memtest86-4.3.7/init.c:865: asm __volatile__ ("rdtsc":"=a" (s_low),"=d" (s_high)); memtest86-4.3.7/init.c-866- ############################################## memtest86-4.3.7/init.c-871- memtest86-4.3.7/init.c:872: asm __volatile__ ( memtest86-4.3.7/init.c-873- "rdtsc\n\t" \ ############################################## memtest86-4.3.7/init.c-908- /* Calibrate the overhead with a zero word copy */ memtest86-4.3.7/init.c:909: asm __volatile__ ("rdtsc":"=a" (st_low),"=d" (st_high)); memtest86-4.3.7/init.c-910- for (i=0; i<iter; i++) { memtest86-4.3.7/init.c:911: asm __volatile__ ( memtest86-4.3.7/init.c-912- "movl %0,%%esi\n\t" \ ############################################## memtest86-4.3.7/init.c-921- } memtest86-4.3.7/init.c:922: asm __volatile__ ("rdtsc":"=a" (cal_low),"=d" (cal_high)); memtest86-4.3.7/init.c-923- memtest86-4.3.7/init.c-924- /* Compute the overhead time */ memtest86-4.3.7/init.c:925: asm __volatile__ ( memtest86-4.3.7/init.c-926- "subl %2,%0\n\t" ############################################## memtest86-4.3.7/init.c-935- /* Do the first copy to prime the cache */ memtest86-4.3.7/init.c:936: asm __volatile__ ( memtest86-4.3.7/init.c-937- "movl %0,%%esi\n\t" \ ############################################## memtest86-4.3.7/init.c-945- ); memtest86-4.3.7/init.c:946: asm __volatile__ ("rdtsc":"=a" (st_low),"=d" (st_high)); memtest86-4.3.7/init.c-947- for (i=0; i<iter; i++) { memtest86-4.3.7/init.c:948: asm __volatile__ ( memtest86-4.3.7/init.c-949- "movl %0,%%esi\n\t" \ ############################################## memtest86-4.3.7/init.c-958- } memtest86-4.3.7/init.c:959: asm __volatile__ ("rdtsc":"=a" (end_low),"=d" (end_high)); memtest86-4.3.7/init.c-960- memtest86-4.3.7/init.c-961- /* Compute the elapsed time */ memtest86-4.3.7/init.c:962: asm __volatile__ ( memtest86-4.3.7/init.c-963- "subl %2,%0\n\t" ############################################## memtest86-4.3.7/init.c-969- /* Subtract the overhead time */ memtest86-4.3.7/init.c:970: asm __volatile__ ( memtest86-4.3.7/init.c-971- "subl %2,%0\n\t" ############################################## memtest86-4.3.7/init.c-1023- /* Calibrate the overhead with a zero word copy */ memtest86-4.3.7/init.c:1024: asm __volatile__ ("rdtsc":"=a" (st_low),"=d" (st_high)); memtest86-4.3.7/init.c-1025- for (i=0; i<iter; i++) { memtest86-4.3.7/init.c:1026: asm __volatile__ ( memtest86-4.3.7/init.c-1027- "movl %0,%%esi\n\t" \ ############################################## memtest86-4.3.7/init.c-1037- } memtest86-4.3.7/init.c:1038: asm __volatile__ ("rdtsc":"=a" (cal_low),"=d" (cal_high)); memtest86-4.3.7/init.c-1039- memtest86-4.3.7/init.c-1040- /* Compute the overhead time */ memtest86-4.3.7/init.c:1041: asm __volatile__ ( memtest86-4.3.7/init.c-1042- "subl %2,%0\n\t" ############################################## memtest86-4.3.7/init.c-1051- /* Do the first copy to prime the cache */ memtest86-4.3.7/init.c:1052: asm __volatile__ ( memtest86-4.3.7/init.c-1053- "movl %0,%%esi\n\t" \ ############################################## memtest86-4.3.7/init.c-1063- ); memtest86-4.3.7/init.c:1064: asm __volatile__ ("rdtsc":"=a" (st_low),"=d" (st_high)); memtest86-4.3.7/init.c-1065- for (i=0; i<iter; i++) { memtest86-4.3.7/init.c:1066: asm __volatile__ ( memtest86-4.3.7/init.c-1067- "movl %0,%%esi\n\t" \ ############################################## memtest86-4.3.7/init.c-1078- } memtest86-4.3.7/init.c:1079: asm __volatile__ ("rdtsc":"=a" (end_low),"=d" (end_high)); memtest86-4.3.7/init.c-1080- memtest86-4.3.7/init.c-1081- /* Compute the elapsed time */ memtest86-4.3.7/init.c:1082: asm __volatile__ ( memtest86-4.3.7/init.c-1083- "subl %2,%0\n\t" ############################################## memtest86-4.3.7/init.c-1089- /* Subtract the overhead time */ memtest86-4.3.7/init.c:1090: asm __volatile__ ( memtest86-4.3.7/init.c-1091- "subl %2,%0\n\t" ############################################## memtest86-4.3.7/init.c-1143- /* Calibrate the overhead with a zero word copy */ memtest86-4.3.7/init.c:1144: asm __volatile__ ("rdtsc":"=a" (st_low),"=d" (st_high)); memtest86-4.3.7/init.c-1145- for (i=0; i<iter; i++) { memtest86-4.3.7/init.c:1146: asm __volatile__ ( memtest86-4.3.7/init.c-1147- "movl %0,%%esi\n\t" \ ############################################## memtest86-4.3.7/init.c-1157- } memtest86-4.3.7/init.c:1158: asm __volatile__ ("rdtsc":"=a" (cal_low),"=d" (cal_high)); memtest86-4.3.7/init.c-1159- memtest86-4.3.7/init.c-1160- /* Compute the overhead time */ memtest86-4.3.7/init.c:1161: asm __volatile__ ( memtest86-4.3.7/init.c-1162- "subl %2,%0\n\t" ############################################## memtest86-4.3.7/init.c-1171- /* Do the first copy to prime the cache */ memtest86-4.3.7/init.c:1172: asm __volatile__ ( memtest86-4.3.7/init.c-1173- "movl %0,%%esi\n\t" \ ############################################## memtest86-4.3.7/init.c-1183- ); memtest86-4.3.7/init.c:1184: asm __volatile__ ("rdtsc":"=a" (st_low),"=d" (st_high)); memtest86-4.3.7/init.c-1185- for (i=0; i<iter; i++) { memtest86-4.3.7/init.c:1186: asm __volatile__ ( memtest86-4.3.7/init.c-1187- "movl %0,%%esi\n\t" \ ############################################## memtest86-4.3.7/init.c-1198- } memtest86-4.3.7/init.c:1199: asm __volatile__ ("rdtsc":"=a" (end_low),"=d" (end_high)); memtest86-4.3.7/init.c-1200- memtest86-4.3.7/init.c-1201- /* Compute the elapsed time */ memtest86-4.3.7/init.c:1202: asm __volatile__ ( memtest86-4.3.7/init.c-1203- "subl %2,%0\n\t" ############################################## memtest86-4.3.7/init.c-1209- /* Subtract the overhead time */ memtest86-4.3.7/init.c:1210: asm __volatile__ ( memtest86-4.3.7/init.c-1211- "subl %2,%0\n\t" ############################################## memtest86-4.3.7/test.c-215- */ memtest86-4.3.7/test.c:216: asm __volatile__ ( memtest86-4.3.7/test.c-217- "jmp L91\n\t" ############################################## memtest86-4.3.7/test.c-261- */ memtest86-4.3.7/test.c:262: asm __volatile__ ( memtest86-4.3.7/test.c-263- "jmp L95\n\t" ############################################## memtest86-4.3.7/test.c-311- if (cpu_id.fid.bits.rdtsc) { memtest86-4.3.7/test.c:312: asm __volatile__ ("rdtsc":"=a" (seed1),"=d" (seed2)); memtest86-4.3.7/test.c-313- } else { ############################################## memtest86-4.3.7/test.c-349- memtest86-4.3.7/test.c:350: asm __volatile__ ( memtest86-4.3.7/test.c-351- "jmp L200\n\t" ############################################## memtest86-4.3.7/test.c-413- } memtest86-4.3.7/test.c:414: asm __volatile__ ( memtest86-4.3.7/test.c-415- ############################################## memtest86-4.3.7/test.c-535- memtest86-4.3.7/test.c:536: asm __volatile__ ( memtest86-4.3.7/test.c-537- "rep\n\t" \ ############################################## memtest86-4.3.7/test.c-581- memtest86-4.3.7/test.c:582: asm __volatile__ ( memtest86-4.3.7/test.c-583- "jmp L2\n\t" \ ############################################## memtest86-4.3.7/test.c-653- memtest86-4.3.7/test.c:654: asm __volatile__ ( memtest86-4.3.7/test.c-655- "jmp L9\n\t" ############################################## memtest86-4.3.7/test.c-740- */ memtest86-4.3.7/test.c:741: asm __volatile__ ( memtest86-4.3.7/test.c-742- "jmp L20\n\t" ############################################## memtest86-4.3.7/test.c-813- */ memtest86-4.3.7/test.c:814: asm __volatile__ ( memtest86-4.3.7/test.c-815- "pushl %%ebp\n\t" ############################################## memtest86-4.3.7/test.c-922- */ memtest86-4.3.7/test.c:923: asm __volatile__ ( memtest86-4.3.7/test.c-924- "pushl %%ebp\n\t" ############################################## memtest86-4.3.7/test.c-1027- */ memtest86-4.3.7/test.c:1028: asm __volatile__ ( memtest86-4.3.7/test.c-1029- "jmp L60\n\t" \ ############################################## memtest86-4.3.7/test.c-1077- */ memtest86-4.3.7/test.c:1078: asm __volatile__ ( memtest86-4.3.7/test.c-1079- "jmp L50\n\t" \ ############################################## memtest86-4.3.7/test.c-1135- */ memtest86-4.3.7/test.c:1136: asm __volatile__ ( memtest86-4.3.7/test.c-1137- "jmp L70\n\t" \ ############################################## memtest86-4.3.7/test.c-1213- //len++; memtest86-4.3.7/test.c:1214: asm __volatile__ ( memtest86-4.3.7/test.c-1215- "jmp L100\n\t" ############################################## memtest86-4.3.7/test.c-1301- BAILR memtest86-4.3.7/test.c:1302: asm __volatile__ ( memtest86-4.3.7/test.c-1303- "cld\n" ############################################## memtest86-4.3.7/test.c-1378- memtest86-4.3.7/test.c:1379: asm __volatile__ ( memtest86-4.3.7/test.c-1380- "jmp L120\n\t" ############################################## memtest86-4.3.7/test.c-1510- /* save the starting time */ memtest86-4.3.7/test.c:1511: asm __volatile__( memtest86-4.3.7/test.c-1512- "rdtsc":"=a" (sl),"=d" (sh)); ############################################## memtest86-4.3.7/test.c-1515- while (1) { memtest86-4.3.7/test.c:1516: asm __volatile__( memtest86-4.3.7/test.c-1517- "rep ; nop\n\t" memtest86-4.3.7/test.c-1518- "rdtsc":"=a" (l),"=d" (h)); memtest86-4.3.7/test.c:1519: asm __volatile__ ( memtest86-4.3.7/test.c-1520- "subl %2,%0\n\t" ############################################## memtest86-4.3.7/elf.h-568-#define R_386_TLS_GD_CALL 26 /* Relocation for call to memtest86-4.3.7/elf.h:569: __tls_get_addr() */ memtest86-4.3.7/elf.h-570-#define R_386_TLS_GD_POP 27 /* Tag for popl in GD TLS code */ ############################################## memtest86-4.3.7/elf.h-574-#define R_386_TLS_LDM_CALL 30 /* Relocation for call to memtest86-4.3.7/elf.h:575: __tls_get_addr() in LDM code */ memtest86-4.3.7/elf.h-576-#define R_386_TLS_LDM_POP 31 /* Tag for popl in LDM TLS code */ ############################################## memtest86-4.3.7/reloc.c-53-{ memtest86-4.3.7/reloc.c:54: register Elf32_Addr *got asm ("%ebx"); memtest86-4.3.7/reloc.c-55- return *got; ############################################## memtest86-4.3.7/reloc.c-62- Elf32_Addr addr; memtest86-4.3.7/reloc.c:63: asm volatile ("leal _start@GOTOFF(%%ebx), %0\n" memtest86-4.3.7/reloc.c-64- : "=r" (addr) : : "cc");