├── .gitignore ├── README.md ├── apps ├── bae │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── attack.sh │ ├── attack_obsan.py │ ├── autoattack │ │ ├── __init__.py │ │ ├── autoattack.py │ │ ├── autopgd_base.py │ │ ├── checks.py │ │ ├── fab_base.py │ │ ├── fab_projections.py │ │ ├── fab_pt.py │ │ ├── fab_tf.py │ │ ├── other_utils.py │ │ ├── square.py │ │ ├── utils_tf.py │ │ └── utils_tf2.py │ ├── flags_doc.md │ ├── setup.py │ ├── simba.py │ └── stats.py ├── cco.py └── fuzz.py ├── backward.py ├── cgutils.py ├── dataman.py ├── eval ├── evalconfig.py ├── evaluation_base.py ├── evaluation_bob.py ├── evaluation_sel.py └── evalutils.py ├── inst.py ├── modman.py ├── obsan-env.sh ├── prune.py ├── quant.py ├── record.py ├── recordandbuild.py ├── requirements.txt ├── setup.sh ├── support ├── aegen │ ├── aegen.py │ └── classifier │ │ ├── __init__.py │ │ ├── densenet.py │ │ ├── googlenet.py │ │ ├── inception.py │ │ ├── mobilenetv2.py │ │ ├── resnet.py │ │ ├── resnet_orig.py │ │ └── vgg.py ├── broken.py ├── classifier │ ├── __init__.py │ ├── densenet.py │ ├── googlenet.py │ ├── inception.py │ ├── lenet.py │ ├── mobilenetv2.py │ ├── resnet.py │ ├── resnet_orig.py │ └── vgg.py ├── cov_mutate_dh.py ├── covar.py ├── coverage.py ├── criteria.py ├── detectors │ ├── __init__.py │ ├── anr.py │ ├── dla.py │ └── vim.py ├── fuzzdatasets.py ├── image_transforms.py ├── load_ae.py ├── load_model.py ├── model │ ├── mobilenetv2.py │ ├── resnet.py │ └── vgg.py ├── my_utils.py ├── neuron_coverage.py └── tool.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/README.md -------------------------------------------------------------------------------- /apps/bae/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/.gitignore -------------------------------------------------------------------------------- /apps/bae/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/LICENSE -------------------------------------------------------------------------------- /apps/bae/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/README.md -------------------------------------------------------------------------------- /apps/bae/attack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/attack.sh -------------------------------------------------------------------------------- /apps/bae/attack_obsan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/attack_obsan.py -------------------------------------------------------------------------------- /apps/bae/autoattack/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/autoattack/__init__.py -------------------------------------------------------------------------------- /apps/bae/autoattack/autoattack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/autoattack/autoattack.py -------------------------------------------------------------------------------- /apps/bae/autoattack/autopgd_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/autoattack/autopgd_base.py -------------------------------------------------------------------------------- /apps/bae/autoattack/checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/autoattack/checks.py -------------------------------------------------------------------------------- /apps/bae/autoattack/fab_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/autoattack/fab_base.py -------------------------------------------------------------------------------- /apps/bae/autoattack/fab_projections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/autoattack/fab_projections.py -------------------------------------------------------------------------------- /apps/bae/autoattack/fab_pt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/autoattack/fab_pt.py -------------------------------------------------------------------------------- /apps/bae/autoattack/fab_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/autoattack/fab_tf.py -------------------------------------------------------------------------------- /apps/bae/autoattack/other_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/autoattack/other_utils.py -------------------------------------------------------------------------------- /apps/bae/autoattack/square.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/autoattack/square.py -------------------------------------------------------------------------------- /apps/bae/autoattack/utils_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/autoattack/utils_tf.py -------------------------------------------------------------------------------- /apps/bae/autoattack/utils_tf2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/autoattack/utils_tf2.py -------------------------------------------------------------------------------- /apps/bae/flags_doc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/flags_doc.md -------------------------------------------------------------------------------- /apps/bae/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/setup.py -------------------------------------------------------------------------------- /apps/bae/simba.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/simba.py -------------------------------------------------------------------------------- /apps/bae/stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/bae/stats.py -------------------------------------------------------------------------------- /apps/cco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/cco.py -------------------------------------------------------------------------------- /apps/fuzz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/apps/fuzz.py -------------------------------------------------------------------------------- /backward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/backward.py -------------------------------------------------------------------------------- /cgutils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/cgutils.py -------------------------------------------------------------------------------- /dataman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/dataman.py -------------------------------------------------------------------------------- /eval/evalconfig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/eval/evalconfig.py -------------------------------------------------------------------------------- /eval/evaluation_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/eval/evaluation_base.py -------------------------------------------------------------------------------- /eval/evaluation_bob.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/eval/evaluation_bob.py -------------------------------------------------------------------------------- /eval/evaluation_sel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/eval/evaluation_sel.py -------------------------------------------------------------------------------- /eval/evalutils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/eval/evalutils.py -------------------------------------------------------------------------------- /inst.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/inst.py -------------------------------------------------------------------------------- /modman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/modman.py -------------------------------------------------------------------------------- /obsan-env.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/obsan-env.sh -------------------------------------------------------------------------------- /prune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/prune.py -------------------------------------------------------------------------------- /quant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/quant.py -------------------------------------------------------------------------------- /record.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/record.py -------------------------------------------------------------------------------- /recordandbuild.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/recordandbuild.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/setup.sh -------------------------------------------------------------------------------- /support/aegen/aegen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/aegen/aegen.py -------------------------------------------------------------------------------- /support/aegen/classifier/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/aegen/classifier/__init__.py -------------------------------------------------------------------------------- /support/aegen/classifier/densenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/aegen/classifier/densenet.py -------------------------------------------------------------------------------- /support/aegen/classifier/googlenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/aegen/classifier/googlenet.py -------------------------------------------------------------------------------- /support/aegen/classifier/inception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/aegen/classifier/inception.py -------------------------------------------------------------------------------- /support/aegen/classifier/mobilenetv2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/aegen/classifier/mobilenetv2.py -------------------------------------------------------------------------------- /support/aegen/classifier/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/aegen/classifier/resnet.py -------------------------------------------------------------------------------- /support/aegen/classifier/resnet_orig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/aegen/classifier/resnet_orig.py -------------------------------------------------------------------------------- /support/aegen/classifier/vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/aegen/classifier/vgg.py -------------------------------------------------------------------------------- /support/broken.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/broken.py -------------------------------------------------------------------------------- /support/classifier/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/classifier/__init__.py -------------------------------------------------------------------------------- /support/classifier/densenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/classifier/densenet.py -------------------------------------------------------------------------------- /support/classifier/googlenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/classifier/googlenet.py -------------------------------------------------------------------------------- /support/classifier/inception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/classifier/inception.py -------------------------------------------------------------------------------- /support/classifier/lenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/classifier/lenet.py -------------------------------------------------------------------------------- /support/classifier/mobilenetv2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/classifier/mobilenetv2.py -------------------------------------------------------------------------------- /support/classifier/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/classifier/resnet.py -------------------------------------------------------------------------------- /support/classifier/resnet_orig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/classifier/resnet_orig.py -------------------------------------------------------------------------------- /support/classifier/vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/classifier/vgg.py -------------------------------------------------------------------------------- /support/cov_mutate_dh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/cov_mutate_dh.py -------------------------------------------------------------------------------- /support/covar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/covar.py -------------------------------------------------------------------------------- /support/coverage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/coverage.py -------------------------------------------------------------------------------- /support/criteria.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/criteria.py -------------------------------------------------------------------------------- /support/detectors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/detectors/__init__.py -------------------------------------------------------------------------------- /support/detectors/anr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/detectors/anr.py -------------------------------------------------------------------------------- /support/detectors/dla.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/detectors/dla.py -------------------------------------------------------------------------------- /support/detectors/vim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/detectors/vim.py -------------------------------------------------------------------------------- /support/fuzzdatasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/fuzzdatasets.py -------------------------------------------------------------------------------- /support/image_transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/image_transforms.py -------------------------------------------------------------------------------- /support/load_ae.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/load_ae.py -------------------------------------------------------------------------------- /support/load_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/load_model.py -------------------------------------------------------------------------------- /support/model/mobilenetv2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/model/mobilenetv2.py -------------------------------------------------------------------------------- /support/model/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/model/resnet.py -------------------------------------------------------------------------------- /support/model/vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/model/vgg.py -------------------------------------------------------------------------------- /support/my_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/my_utils.py -------------------------------------------------------------------------------- /support/neuron_coverage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/neuron_coverage.py -------------------------------------------------------------------------------- /support/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/support/tool.py -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanzuochen/obsan/HEAD/utils.py --------------------------------------------------------------------------------