Kevin Enderby
87c85b7e23
Fix identify_magic() to check that a file that starts with MH_MAGIC is
...
at least as big as the mach header to be identified as a Mach-O file and
make sure smaller files are not identified as a Mach-O files but as
unknown files. Also fix identify_magic() so it looks at all 4 bytes of
the filetype field when determining the type of the Mach-O file.
Then fix the macho-invalid-header test case to check that it is an
unknown file and make sure it does not get the error for
object_error::parse_failed. And also update the unit tests.
llvm-svn: 258883
2016-01-26 23:43:37 +00:00
..
2015-01-29 06:56:24 +00:00
2015-11-13 17:06:29 +00:00
2015-06-25 21:00:51 +00:00
2016-01-22 22:49:55 +00:00
2015-07-09 18:22:55 +00:00
2015-09-11 03:22:04 +00:00
2015-03-02 21:33:18 +00:00
2014-11-04 13:41:33 +00:00
2015-03-02 21:33:18 +00:00
2015-07-14 22:42:21 +00:00
2015-07-16 00:38:34 +00:00
2015-03-02 21:33:18 +00:00
2015-10-26 13:40:03 +00:00
2015-07-13 23:07:05 +00:00
2015-12-07 23:15:57 +00:00
2014-10-31 05:07:00 +00:00
2015-07-06 21:36:23 +00:00
2015-07-06 14:26:07 +00:00
2015-08-07 15:25:20 +00:00
2015-06-24 18:03:39 +00:00
2015-06-11 21:42:18 +00:00
2016-01-16 22:40:09 +00:00
2015-01-23 21:58:09 +00:00
2015-08-24 21:09:41 +00:00
2015-02-27 18:58:23 +00:00
2015-06-24 10:20:30 +00:00
2016-01-26 23:43:37 +00:00
2015-11-19 05:56:52 +00:00
2014-11-04 13:19:29 +00:00
2014-10-10 18:33:51 +00:00
2014-11-04 13:19:29 +00:00
2014-11-04 13:19:29 +00:00
2014-10-10 18:33:51 +00:00
2014-11-04 13:19:29 +00:00
2014-11-04 13:19:29 +00:00
2014-11-03 14:09:47 +00:00
2015-07-22 18:29:39 +00:00
2015-02-17 18:54:22 +00:00
2015-08-06 20:05:27 +00:00
2015-05-22 13:28:35 +00:00
2015-07-21 21:40:33 +00:00
2016-01-16 06:06:36 +00:00
2014-10-10 00:17:57 +00:00
2014-10-10 06:59:05 +00:00
2015-02-21 04:28:26 +00:00
2016-01-20 19:15:18 +00:00
2014-12-19 02:31:01 +00:00
2014-12-04 07:37:02 +00:00
2014-10-29 18:37:13 +00:00
2015-08-10 21:00:15 +00:00
2015-06-23 15:45:38 +00:00
2015-12-18 16:07:17 +00:00
2015-09-21 19:17:18 +00:00
2015-10-01 17:57:31 +00:00
2015-07-23 09:11:05 +00:00
2015-06-27 03:49:25 +00:00
2015-07-08 10:12:40 +00:00
2014-11-04 13:33:36 +00:00
2015-07-03 23:00:54 +00:00
2015-07-08 06:57:24 +00:00
2015-07-09 18:23:02 +00:00
2015-07-09 18:22:55 +00:00
2014-11-06 22:46:24 +00:00