def add_pending(self, f):
        # Ignore symlinks
        if os.path.islink(f):
            return

        # Get the file mode to check and see if it's a block/char device
        try:
            file_mode = os.stat(f).st_mode
        except __HOLE__ as e:
            return

        # Only add this to the pending list of files to scan
        # if the file is a regular file or a block/character device.
        if (stat.S_ISREG(file_mode) or
            stat.S_ISBLK(file_mode) or
            stat.S_ISCHR(file_mode)):
            self.pending.append(f)
dataset/ETHPy150Open devttys0/binwalk/src/binwalk/modules/extractor.py/Extractor.add_pending