=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== fceux-2.2.2+dfsg0/documentation/tech/ppu/2c02 technical operation.txt-182- ---------------------------------------- fceux-2.2.2+dfsg0/documentation/tech/ppu/2c02 technical operation.txt:183: Where the PPU fetches pattern table data for an individual object is conditioned on the contents of the sprite temporary memory element, and $2000.5. If $2000.5 = 0, the tile index data is used as usual, and $2000.3 selects the pattern table to use. If $2000.5 = 1, the MSB of the range result value become the LSB of the indexed tile, and the LSB of the tile index value determines pattern table selection. The lower 3 bits of the range result value are always used as the fine vertical offset into the selected pattern. fceux-2.2.2+dfsg0/documentation/tech/ppu/2c02 technical operation.txt-184- ############################################## fceux-2.2.2+dfsg0/src/drivers/sdl/unix-netplay.cpp-142- sockin.sin_family = AF_INET; fceux-2.2.2+dfsg0/src/drivers/sdl/unix-netplay.cpp:143: hadr = inet_addr(server.c_str()); fceux-2.2.2+dfsg0/src/drivers/sdl/unix-netplay.cpp-144- if(hadr != INADDR_NONE) { ############################################## fceux-2.2.2+dfsg0/src/drivers/win/debugger.cpp-518- { fceux-2.2.2+dfsg0/src/drivers/win/debugger.cpp:519: strcat(debug_str, " "); //pad output to align ASM fceux-2.2.2+dfsg0/src/drivers/win/debugger.cpp-520- size++; ############################################## fceux-2.2.2+dfsg0/src/drivers/win/debugger.cpp-614- while (size < 3) { fceux-2.2.2+dfsg0/src/drivers/win/debugger.cpp:615: strcat(str," "); //pad output to align ASM fceux-2.2.2+dfsg0/src/drivers/win/debugger.cpp-616- size++; ############################################## fceux-2.2.2+dfsg0/src/drivers/win/debugger.cpp-652- { fceux-2.2.2+dfsg0/src/drivers/win/debugger.cpp:653: strcat(str," "); //pad output to align ASM fceux-2.2.2+dfsg0/src/drivers/win/debugger.cpp-654- size++; ############################################## fceux-2.2.2+dfsg0/src/drivers/win/debugger.cpp-1214- else SetDlgItemText(hwndDlg,IDC_ASSEMBLER_DISASSEMBLY,"OVERFLOW"); fceux-2.2.2+dfsg0/src/drivers/win/debugger.cpp:1215: dasm = DisassembleData((count-opsize[patchdata[patchlen][0]]),patchdata[patchlen]); fceux-2.2.2+dfsg0/src/drivers/win/debugger.cpp-1216- SendDlgItemMessage(hwndDlg,IDC_ASSEMBLER_PATCH_DISASM,LB_INSERTSTRING,-1,(LPARAM)(LPSTR)dasm); ############################################## fceux-2.2.2+dfsg0/src/drivers/win/debuggersp.cpp-411- { fceux-2.2.2+dfsg0/src/drivers/win/debuggersp.cpp:412:// __asm (".byte 0xcc"); fceux-2.2.2+dfsg0/src/drivers/win/debuggersp.cpp-413- // Get the file size ############################################## fceux-2.2.2+dfsg0/src/drivers/win/lua/include/luaconf.h-564- fceux-2.2.2+dfsg0/src/drivers/win/lua/include/luaconf.h:565:#define lua_number2int(i,d) __asm fld d __asm fistp i fceux-2.2.2+dfsg0/src/drivers/win/lua/include/luaconf.h-566-#define lua_number2integer(i,n) lua_number2int(i, n) ############################################## fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-211-}; fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp:212:inline int MW_ADDR(int i) { return MW_ADDR_Lookup[i] ; } fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-213-inline int MW_NAME(int i) { return MW_ADDR_Lookup[i]-1; } ############################################## fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-225- for(int i=0;i<MWNUM;i++) fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp:226: if(MW_ADDR(i) == ctl) fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-227- return i; ############################################## fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-349- { fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp:350: GetDlgItemText(hwndMemWatch,MW_ADDR(i),addresses[i],ADDRESSLENGTH); fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-351- GetDlgItemText(hwndMemWatch,MW_NAME(i),labels[i],LABELLENGTH); ############################################## fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-569- SetDlgItemText(hwndMemWatch,MW_VAL (i),(LPTSTR) "---"); fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp:570: SetDlgItemText(hwndMemWatch,MW_ADDR(i),(LPTSTR) addresses[i]); fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-571- SetDlgItemText(hwndMemWatch,MW_NAME(i),(LPTSTR) labels[i]); ############################################## fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-619- SetDlgItemText(hwndMemWatch,MW_VAL (i),(LPTSTR) "---"); fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp:620: SetDlgItemText(hwndMemWatch,MW_ADDR(i),(LPTSTR) addresses[i]); fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-621- SetDlgItemText(hwndMemWatch,MW_NAME(i),(LPTSTR) labels[i]); ############################################## fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-689- labels[i][0] = 0; fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp:690: SetDlgItemText(hwndMemWatch,MW_ADDR(i),(LPTSTR) addresses[i]); fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-691- SetDlgItemText(hwndMemWatch,MW_NAME(i),(LPTSTR) labels[i]); ############################################## fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-747- RECT r; fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp:748: GetWindowRect(GetDlgItem(hwndDlg,MW_ADDR(i)),&r); fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-749- ScreenToClient(hwndDlg,(LPPOINT)&r); ############################################## fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-996- SetDlgItemText(hwndMemWatch,MW_VAL (i),(LPTSTR) "---"); fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp:997: SetDlgItemText(hwndMemWatch,MW_ADDR(i),(LPTSTR) addresses[i]); fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-998- SetDlgItemText(hwndMemWatch,MW_NAME(i),(LPTSTR) labels[i]); ############################################## fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-1016- { fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp:1017: GetDlgItemText(hwndMemWatch,MW_ADDR(i),TempArray,32); fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-1018- if (TempArray[0] == 0) fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-1019- { fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp:1020: SetDlgItemText(hwndMemWatch,MW_ADDR(i),memaddress); fceux-2.2.2+dfsg0/src/drivers/win/memwatch.cpp-1021- break; ############################################## fceux-2.2.2+dfsg0/src/drivers/win/netplay.cpp-217- fceux-2.2.2+dfsg0/src/drivers/win/netplay.cpp:218: hadr=inet_addr(netplayhost); fceux-2.2.2+dfsg0/src/drivers/win/netplay.cpp-219- ############################################## fceux-2.2.2+dfsg0/src/drivers/win/ram_search.cpp-1129- unsigned int End() const { return addr + size; } fceux-2.2.2+dfsg0/src/drivers/win/ram_search.cpp:1130: AddrRange(unsigned int a, unsigned int s) : addr(a),size(s){} fceux-2.2.2+dfsg0/src/drivers/win/ram_search.cpp-1131-}; ############################################## fceux-2.2.2+dfsg0/src/drivers/win/resource.h-50-#define IDC_NTVIEW_SCANLINE 102 fceux-2.2.2+dfsg0/src/drivers/win/resource.h:51:#define IDC_ASSEMBLER_PATCH_DISASM 102 fceux-2.2.2+dfsg0/src/drivers/win/resource.h-52-#define CHECK_PALETTE_GRAYSCALE 102 ############################################## fceux-2.2.2+dfsg0/src/drivers/win/video.cpp-851- { fceux-2.2.2+dfsg0/src/drivers/win/video.cpp:852: asm volatile( fceux-2.2.2+dfsg0/src/drivers/win/video.cpp-853- "xorl %%edx, %%edx\n\t" ############################################## fceux-2.2.2+dfsg0/src/drivers/win/video.cpp-874- { fceux-2.2.2+dfsg0/src/drivers/win/video.cpp:875: asm volatile( fceux-2.2.2+dfsg0/src/drivers/win/video.cpp-876- "xorl %%edx, %%edx\n\t" ############################################## fceux-2.2.2+dfsg0/src/drivers/win/video.cpp-899- { fceux-2.2.2+dfsg0/src/drivers/win/video.cpp:900: asm volatile( fceux-2.2.2+dfsg0/src/drivers/win/video.cpp-901- "ayoop1:\n\t" ############################################## fceux-2.2.2+dfsg0/src/drivers/win/video.cpp-923- { fceux-2.2.2+dfsg0/src/drivers/win/video.cpp:924: asm volatile( fceux-2.2.2+dfsg0/src/drivers/win/video.cpp-925- "yoop1:\n\t" ############################################## fceux-2.2.2+dfsg0/src/drivers/win/zlib/changelog-106-- added compress2 in zconf.h, zlib.def, zlib.dnt fceux-2.2.2+dfsg0/src/drivers/win/zlib/changelog:107:- new asm code from Gilles Vollant in contrib/asm386 fceux-2.2.2+dfsg0/src/drivers/win/zlib/changelog-108-- simplify the inflate code (Mark): ############################################## fceux-2.2.2+dfsg0/src/drivers/win/zlib/changelog-124-Changes in 1.0.8 (27 Jan 1998) fceux-2.2.2+dfsg0/src/drivers/win/zlib/changelog:125:- fixed offsets in contrib/asm386/gvmat32.asm (Gilles Vollant) fceux-2.2.2+dfsg0/src/drivers/win/zlib/changelog-126-- fix gzgetc and gzputc for big endian systems (Markus Oberhumer) ############################################## fceux-2.2.2+dfsg0/src/drivers/win/zlib/changelog-186- contrib/asm386/ by Gilles Vollant <info@winimage.com> fceux-2.2.2+dfsg0/src/drivers/win/zlib/changelog:187: 386 asm code replacing longest_match(). fceux-2.2.2+dfsg0/src/drivers/win/zlib/changelog-188- contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu> ############################################## fceux-2.2.2+dfsg0/src/drivers/win/zlib/crc32.c-124-/* ========================================================================= fceux-2.2.2+dfsg0/src/drivers/win/zlib/crc32.c:125: * This function can be used by asm versions of crc32() fceux-2.2.2+dfsg0/src/drivers/win/zlib/crc32.c-126- */ ############################################## fceux-2.2.2+dfsg0/src/drivers/win/zlib/deflate.c-84-#ifdef ASMV fceux-2.2.2+dfsg0/src/drivers/win/zlib/deflate.c:85: void match_init OF((void)); /* asm code initialization */ fceux-2.2.2+dfsg0/src/drivers/win/zlib/deflate.c-86- uInt longest_match OF((deflate_state *s, IPos cur_match)); ############################################## fceux-2.2.2+dfsg0/src/drivers/win/zlib/deflate.c-707-#ifdef ASMV fceux-2.2.2+dfsg0/src/drivers/win/zlib/deflate.c:708: match_init(); /* initialize the asm code */ fceux-2.2.2+dfsg0/src/drivers/win/zlib/deflate.c-709-#endif ############################################## fceux-2.2.2+dfsg0/src/drivers/win/zlib/deflate.c-721-#ifndef ASMV fceux-2.2.2+dfsg0/src/drivers/win/zlib/deflate.c:722:/* For 80x86 and 680x0, an optimized version will be provided in match.asm or fceux-2.2.2+dfsg0/src/drivers/win/zlib/deflate.c-723- * match.S. The code will be functionally equivalent. ############################################## fceux-2.2.2+dfsg0/src/lua/src/luaconf.h-562- fceux-2.2.2+dfsg0/src/lua/src/luaconf.h:563:#define lua_number2int(i,d) __asm fld d __asm fistp i fceux-2.2.2+dfsg0/src/lua/src/luaconf.h-564-#define lua_number2integer(i,n) lua_number2int(i, n) ############################################## fceux-2.2.2+dfsg0/src/nsf.cpp-60- fceux-2.2.2+dfsg0/src/nsf.cpp:61://mbg 7/31/06 todo - no reason this couldnt be assembled on the fly from actual asm source code. thatd be less obscure. fceux-2.2.2+dfsg0/src/nsf.cpp-62-//here it is disassembled, for reference ############################################## fceux-2.2.2+dfsg0/src/utils/backward.hpp-396- Trace(): fceux-2.2.2+dfsg0/src/utils/backward.hpp:397: addr(0), idx(0) {} fceux-2.2.2+dfsg0/src/utils/backward.hpp-398- fceux-2.2.2+dfsg0/src/utils/backward.hpp-399- explicit Trace(void* addr, size_t idx): fceux-2.2.2+dfsg0/src/utils/backward.hpp:400: addr(addr), idx(idx) {} fceux-2.2.2+dfsg0/src/utils/backward.hpp-401-}; ############################################## fceux-2.2.2+dfsg0/src/utils/backward.hpp-899- // The loaded object can be yourself btw. fceux-2.2.2+dfsg0/src/utils/backward.hpp:900: if (not dladdr(trace.addr, &symbol_info)) { fceux-2.2.2+dfsg0/src/utils/backward.hpp-901- return trace; // dat broken trace... ############################################## fceux-2.2.2+dfsg0/src/~attic/pc/dos-keyboard.c-119- { fceux-2.2.2+dfsg0/src/~attic/pc/dos-keyboard.c:120: asm volatile( fceux-2.2.2+dfsg0/src/~attic/pc/dos-keyboard.c-121- "subl %%eax,_newk\n\t" ############################################## fceux-2.2.2+dfsg0/src/~attic/pc/dos-video.c-198- { fceux-2.2.2+dfsg0/src/~attic/pc/dos-video.c:199: asm volatile( fceux-2.2.2+dfsg0/src/~attic/pc/dos-video.c-200- "agoop1:\n\t" ############################################## fceux-2.2.2+dfsg0/src/~attic/pc/dos-video.c-222- { fceux-2.2.2+dfsg0/src/~attic/pc/dos-video.c:223: asm volatile( fceux-2.2.2+dfsg0/src/~attic/pc/dos-video.c-224- "goop1:\n\t" ############################################## fceux-2.2.2+dfsg0/src/~attic/pc/unix-netplay.c-106- fceux-2.2.2+dfsg0/src/~attic/pc/unix-netplay.c:107: hadr=inet_addr(netplayhost); fceux-2.2.2+dfsg0/src/~attic/pc/unix-netplay.c-108-