=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== i7z-0.27.2+git2013.10.12-g5023138/MAKEDEV-cpuid-msr-11- mknod /dev/cpu/$n/cpuid -m 0444 c $cpuid_major $n i7z-0.27.2+git2013.10.12-g5023138/MAKEDEV-cpuid-msr:12: n=`expr $n + 1` i7z-0.27.2+git2013.10.12-g5023138/MAKEDEV-cpuid-msr-13-done ############################################## i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-72- unsigned int b; i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp:73: asm volatile ("mov %1, %%eax;" i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-74- "cpuid;" ############################################## i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-85- unsigned int b; i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp:86: asm volatile ("mov %1, %%eax;" i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-87- "cpuid;" ############################################## i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-119- // int i; i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp:120: asm volatile ("mov %4, %%eax; " // 0 into eax i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-121- "cpuid;" "mov %%eax, %0;" // eeax into b ############################################## i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-126- :"r" (0) /* input */ i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp:127: :"%eax", "%ebx", "%ecx", "%edx" /* clobbered register, will be modifying inside the asm routine so dont use them */ i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-128- ); ############################################## i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-141- // int i; i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp:142: asm volatile ("mov %1, %%eax; " // 0 into eax i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-143- "cpuid;" "mov %%eax, %0;" // eeax into b ############################################## i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-145- :"r" (6) /* input */ i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp:146: :"%eax" /* clobbered register, will be modifying inside the asm routine so dont use them */ i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-147- ); ############################################## i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-157- unsigned int b; i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp:158: asm volatile ("mov %1, %%eax; " // 0 into eax i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-159- "cpuid;" "mov %%eax, %0;" // eeax into b ############################################## i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-161- :"r" (1) /* input */ i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp:162: :"%eax" /* clobbered register, will be modifying inside the asm routine so dont use them */ i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-163- ); ############################################## i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-483- mknod /dev/cpu/$n/cpuid -m 0444 c $cpuid_major $n; \ i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp:484: n=`expr $n + 1`; \ i7z-0.27.2+git2013.10.12-g5023138/perfmon-i7z/helper_functions.cpp-485- done; \ ############################################## i7z-0.27.2+git2013.10.12-g5023138/test-scripts/test_cpuid_issue.cpp-7- unsigned int _eax = info, _ebx, _ecx, _edx; i7z-0.27.2+git2013.10.12-g5023138/test-scripts/test_cpuid_issue.cpp:8: asm volatile ("mov %%ebx, %%edi;" // save ebx (for PIC) i7z-0.27.2+git2013.10.12-g5023138/test-scripts/test_cpuid_issue.cpp-9- "cpuid;" ############################################## i7z-0.27.2+git2013.10.12-g5023138/debian/patches/fix_cpuid_asm.patch-10- unsigned int _eax = info, _ebx, _ecx, _edx; i7z-0.27.2+git2013.10.12-g5023138/debian/patches/fix_cpuid_asm.patch:11:- asm volatile ("mov %%ebx, %%edi;" // save ebx (for PIC) i7z-0.27.2+git2013.10.12-g5023138/debian/patches/fix_cpuid_asm.patch-12-- "cpuid;" ############################################## i7z-0.27.2+git2013.10.12-g5023138/debian/patches/fix_cpuid_asm.patch-17-- :"edi" /* clobbers: we hit edi directly */); i7z-0.27.2+git2013.10.12-g5023138/debian/patches/fix_cpuid_asm.patch:18:+ asm volatile ("cpuid\n\t" : "+a" (_eax), "=b" (_ebx), "=c" (_ecx), "=d" (_edx) : : ); i7z-0.27.2+git2013.10.12-g5023138/debian/patches/fix_cpuid_asm.patch-19- if (eax) *eax = _eax; ############################################## i7z-0.27.2+git2013.10.12-g5023138/debian/patches/typos.patch-6-@@ -528,7 +528,7 @@ void Test_Or_Make_MSR_DEVICE_FILES() i7z-0.27.2+git2013.10.12-g5023138/debian/patches/typos.patch:7: n=`expr $n + 1`; \ i7z-0.27.2+git2013.10.12-g5023138/debian/patches/typos.patch-8- done; \ ############################################## i7z-0.27.2+git2013.10.12-g5023138/debian/patches/typos.patch-17-@@ -484,7 +484,7 @@ void Test_Or_Make_MSR_DEVICE_FILES() i7z-0.27.2+git2013.10.12-g5023138/debian/patches/typos.patch:18: n=`expr $n + 1`; \ i7z-0.27.2+git2013.10.12-g5023138/debian/patches/typos.patch-19- done; \ ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/fix-insecure-tempfile.patch/helper_functions.c-103- unsigned int _eax = info, _ebx, _ecx, _edx; i7z-0.27.2+git2013.10.12-g5023138/.pc/fix-insecure-tempfile.patch/helper_functions.c:104: asm volatile ("mov %%ebx, %%edi;" // save ebx (for PIC) i7z-0.27.2+git2013.10.12-g5023138/.pc/fix-insecure-tempfile.patch/helper_functions.c-105- "cpuid;" ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/fix-insecure-tempfile.patch/helper_functions.c-533- mknod /dev/cpu/$n/cpuid -m 0444 c $cpuid_major $n; \ i7z-0.27.2+git2013.10.12-g5023138/.pc/fix-insecure-tempfile.patch/helper_functions.c:534: n=`expr $n + 1`; \ i7z-0.27.2+git2013.10.12-g5023138/.pc/fix-insecure-tempfile.patch/helper_functions.c-535- done; \ ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/fix_cpuid_asm.patch/helper_functions.c-103- unsigned int _eax = info, _ebx, _ecx, _edx; i7z-0.27.2+git2013.10.12-g5023138/.pc/fix_cpuid_asm.patch/helper_functions.c:104: asm volatile ("mov %%ebx, %%edi;" // save ebx (for PIC) i7z-0.27.2+git2013.10.12-g5023138/.pc/fix_cpuid_asm.patch/helper_functions.c-105- "cpuid;" ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/fix_cpuid_asm.patch/helper_functions.c-533- mknod /dev/cpu/$n/cpuid -m 0444 c $cpuid_major $n; \ i7z-0.27.2+git2013.10.12-g5023138/.pc/fix_cpuid_asm.patch/helper_functions.c:534: n=`expr $n + 1`; \ i7z-0.27.2+git2013.10.12-g5023138/.pc/fix_cpuid_asm.patch/helper_functions.c-535- done; \ ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/nehalem.patch/helper_functions.c-103- unsigned int _eax = info, _ebx, _ecx, _edx; i7z-0.27.2+git2013.10.12-g5023138/.pc/nehalem.patch/helper_functions.c:104: asm volatile ("cpuid\n\t" : "+a" (_eax), "=b" (_ebx), "=c" (_ecx), "=d" (_edx) : : ); i7z-0.27.2+git2013.10.12-g5023138/.pc/nehalem.patch/helper_functions.c-105- if (eax) *eax = _eax; ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/nehalem.patch/helper_functions.c-527- mknod /dev/cpu/$n/cpuid -m 0444 c $cpuid_major $n; \ i7z-0.27.2+git2013.10.12-g5023138/.pc/nehalem.patch/helper_functions.c:528: n=`expr $n + 1`; \ i7z-0.27.2+git2013.10.12-g5023138/.pc/nehalem.patch/helper_functions.c-529- done; \ ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/helper_functions.c-103- unsigned int _eax = info, _ebx, _ecx, _edx; i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/helper_functions.c:104: asm volatile ("cpuid\n\t" : "+a" (_eax), "=b" (_ebx), "=c" (_ecx), "=d" (_edx) : : ); i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/helper_functions.c-105- if (eax) *eax = _eax; ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/helper_functions.c-527- mknod /dev/cpu/$n/cpuid -m 0444 c $cpuid_major $n; \ i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/helper_functions.c:528: n=`expr $n + 1`; \ i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/helper_functions.c-529- done; \ ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-72- unsigned int b; i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp:73: asm volatile ("mov %1, %%eax;" i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-74- "cpuid;" ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-85- unsigned int b; i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp:86: asm volatile ("mov %1, %%eax;" i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-87- "cpuid;" ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-119- // int i; i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp:120: asm volatile ("mov %4, %%eax; " // 0 into eax i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-121- "cpuid;" "mov %%eax, %0;" // eeax into b ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-126- :"r" (0) /* input */ i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp:127: :"%eax", "%ebx", "%ecx", "%edx" /* clobbered register, will be modifying inside the asm routine so dont use them */ i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-128- ); ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-141- // int i; i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp:142: asm volatile ("mov %1, %%eax; " // 0 into eax i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-143- "cpuid;" "mov %%eax, %0;" // eeax into b ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-145- :"r" (6) /* input */ i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp:146: :"%eax" /* clobbered register, will be modifying inside the asm routine so dont use them */ i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-147- ); ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-157- unsigned int b; i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp:158: asm volatile ("mov %1, %%eax; " // 0 into eax i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-159- "cpuid;" "mov %%eax, %0;" // eeax into b ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-161- :"r" (1) /* input */ i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp:162: :"%eax" /* clobbered register, will be modifying inside the asm routine so dont use them */ i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-163- ); ############################################## i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-483- mknod /dev/cpu/$n/cpuid -m 0444 c $cpuid_major $n; \ i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp:484: n=`expr $n + 1`; \ i7z-0.27.2+git2013.10.12-g5023138/.pc/typos.patch/perfmon-i7z/helper_functions.cpp-485- done; \ ############################################## i7z-0.27.2+git2013.10.12-g5023138/helper_functions.c-103- unsigned int _eax = info, _ebx, _ecx, _edx; i7z-0.27.2+git2013.10.12-g5023138/helper_functions.c:104: asm volatile ("cpuid\n\t" : "+a" (_eax), "=b" (_ebx), "=c" (_ecx), "=d" (_edx) : : ); i7z-0.27.2+git2013.10.12-g5023138/helper_functions.c-105- if (eax) *eax = _eax; ############################################## i7z-0.27.2+git2013.10.12-g5023138/helper_functions.c-527- mknod /dev/cpu/$n/cpuid -m 0444 c $cpuid_major $n; \ i7z-0.27.2+git2013.10.12-g5023138/helper_functions.c:528: n=`expr $n + 1`; \ i7z-0.27.2+git2013.10.12-g5023138/helper_functions.c-529- done; \