Evan Shaw 9f1ef0d721 Reduce OMF format false positives
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.
2016-03-16 10:36:26 +01:00
..
2016-03-07 17:58:29 +01:00
2016-03-16 10:36:26 +01:00
2015-12-01 12:39:12 +01:00
2016-03-16 10:36:26 +01:00
2016-01-26 21:51:03 +01:00
2015-09-24 03:36:06 +02:00
2015-12-08 23:55:23 +01:00
2016-01-29 00:06:28 +01:00
2015-12-08 23:55:23 +01:00
2015-11-27 13:03:18 +01:00
2016-02-29 00:04:31 +01:00