Views
No views yet
Buffer.offset wraps around the loader's offset + size
check and points before the mapped .tflite contents.TFLite (.tflite) – Google.tflite model fileSIGSEGV) in the default
Interpreter(model_path=...) pathno_signatures.bin: TensorFlow's legitimate sample .tflite model used as
the clean baselinerepro_tflite_offset_underflow.py: builds the malicious .tflite from a
legitimate TensorFlow sample model and verifies the crash in fresh processes1python3 -m pip install --progress-bar off --target /tmp/tflite-hunt flatbuffers ai-edge-litert
2PYTHONPATH=/tmp/tflite-hunt python3 repro_tflite_offset_underflow.py