mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-24 06:48:46 +00:00
9f1ef0d721
While developing the SNES bin plugin, I noticed some SNES ROMs were wrongly detected as OMF. This commit adds two additional checks to check_bytes: * Check that record size and string size in the first record agree with each other * Check that the string in the first record is valid ASCII Regression tests still pass. This commit also fixes an assumption that the host is little endian.