=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== i2c-tools-4.2/eeprom/decode-dimms-2469- my $hexoff = sprintf('%02x', $offset + $i * 16); i2c-tools-4.2/eeprom/decode-dimms:2470: push @bytes, split(" ", `cat $dimm_i/$hexoff`); i2c-tools-4.2/eeprom/decode-dimms-2471- } ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-160-static int i2c-tools-4.2/py-smbus/smbusmodule.c:161:SMBus_set_addr(SMBus *self, int addr) i2c-tools-4.2/py-smbus/smbusmodule.c-162-{ ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-172- i2c-tools-4.2/py-smbus/smbusmodule.c:173:#define SMBus_SET_ADDR(self, addr) do { \ i2c-tools-4.2/py-smbus/smbusmodule.c:174: if (SMBus_set_addr(self, addr)) { \ i2c-tools-4.2/py-smbus/smbusmodule.c-175- PyErr_SetFromErrno(PyExc_IOError); \ ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-192- i2c-tools-4.2/py-smbus/smbusmodule.c:193: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-194- ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-216- i2c-tools-4.2/py-smbus/smbusmodule.c:217: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-218- ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-239- i2c-tools-4.2/py-smbus/smbusmodule.c:240: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-241- ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-263- i2c-tools-4.2/py-smbus/smbusmodule.c:264: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-265- ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-286- i2c-tools-4.2/py-smbus/smbusmodule.c:287: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-288- ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-311- i2c-tools-4.2/py-smbus/smbusmodule.c:312: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-313- ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-334- i2c-tools-4.2/py-smbus/smbusmodule.c:335: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-336- ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-359- i2c-tools-4.2/py-smbus/smbusmodule.c:360: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-361- ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-403- i2c-tools-4.2/py-smbus/smbusmodule.c:404: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-405- ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-473- i2c-tools-4.2/py-smbus/smbusmodule.c:474: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-475- ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-500- i2c-tools-4.2/py-smbus/smbusmodule.c:501: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-502- ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-527- i2c-tools-4.2/py-smbus/smbusmodule.c:528: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-529- ############################################## i2c-tools-4.2/py-smbus/smbusmodule.c-556- i2c-tools-4.2/py-smbus/smbusmodule.c:557: SMBus_SET_ADDR(self, addr); i2c-tools-4.2/py-smbus/smbusmodule.c-558- ############################################## i2c-tools-4.2/stub/i2c-stub-from-dump-75- i2c-tools-4.2/stub/i2c-stub-from-dump:76: foreach my $addr (@addr) { i2c-tools-4.2/stub/i2c-stub-from-dump-77- unless (exists $stub_addr{$addr}) { ############################################## i2c-tools-4.2/stub/i2c-stub-from-dump-92- # i2c-stub may be loaded without the address we want i2c-tools-4.2/stub/i2c-stub-from-dump:93: check_chip_addr("/sys/module/i2c_stub/parameters/chip_addr", \@addr); i2c-tools-4.2/stub/i2c-stub-from-dump-94- ############################################## i2c-tools-4.2/tools/i2cbusses.c-442- i2c-tools-4.2/tools/i2cbusses.c:443:int set_slave_addr(int file, int address, int force) i2c-tools-4.2/tools/i2cbusses.c-444-{ ############################################## i2c-tools-4.2/tools/i2cbusses.h-39-int open_i2c_dev(int i2cbus, char *filename, size_t size, int quiet); i2c-tools-4.2/tools/i2cbusses.h:40:int set_slave_addr(int file, int address, int force); i2c-tools-4.2/tools/i2cbusses.h-41- ############################################## i2c-tools-4.2/tools/i2cdump.c-268- || check_funcs(file, size, pec) i2c-tools-4.2/tools/i2cdump.c:269: || set_slave_addr(file, address, force)) i2c-tools-4.2/tools/i2cdump.c-270- exit(1); ############################################## i2c-tools-4.2/tools/i2cget.c-221- || check_funcs(file, size, daddress, pec) i2c-tools-4.2/tools/i2cget.c:222: || set_slave_addr(file, address, force)) i2c-tools-4.2/tools/i2cget.c-223- exit(1); ############################################## i2c-tools-4.2/tools/i2cset.c-320- || check_funcs(file, size, pec) i2c-tools-4.2/tools/i2cset.c:321: || set_slave_addr(file, address, force)) i2c-tools-4.2/tools/i2cset.c-322- exit(1); ############################################## i2c-tools-4.2/tools/i2ctransfer.c-240- /* Ensure address is not busy */ i2c-tools-4.2/tools/i2ctransfer.c:241: if (!force && set_slave_addr(file, address, 0)) i2c-tools-4.2/tools/i2ctransfer.c-242- goto err_out_with_arg; ############################################## i2c-tools-4.2/.pc/01-decode-dimms-no-eeprom.diff/eeprom/decode-dimms-2469- my $hexoff = sprintf('%02x', $offset + $i * 16); i2c-tools-4.2/.pc/01-decode-dimms-no-eeprom.diff/eeprom/decode-dimms:2470: push @bytes, split(" ", `cat $dimm_i/$hexoff`); i2c-tools-4.2/.pc/01-decode-dimms-no-eeprom.diff/eeprom/decode-dimms-2471- } ############################################## i2c-tools-4.2/.pc/02-udevadm.diff/stub/i2c-stub-from-dump-75- i2c-tools-4.2/.pc/02-udevadm.diff/stub/i2c-stub-from-dump:76: foreach my $addr (@addr) { i2c-tools-4.2/.pc/02-udevadm.diff/stub/i2c-stub-from-dump-77- unless (exists $stub_addr{$addr}) { ############################################## i2c-tools-4.2/.pc/02-udevadm.diff/stub/i2c-stub-from-dump-92- # i2c-stub may be loaded without the address we want i2c-tools-4.2/.pc/02-udevadm.diff/stub/i2c-stub-from-dump:93: check_chip_addr("/sys/module/i2c_stub/parameters/chip_addr", \@addr); i2c-tools-4.2/.pc/02-udevadm.diff/stub/i2c-stub-from-dump-94-