Commit Graph

11 Commits

Author SHA1 Message Date
Oliver Schneider c36dcff005 forbid calling functions through pointers of a different type 2016-06-14 10:34:54 +02:00
Oliver Schneider 4d090fa693 report better errors when using a fn ptr as memory and vice versa 2016-06-13 11:39:15 +02:00
Oliver Schneider 384623daa7 function pointers 2016-06-10 18:06:36 +02:00
Oliver Schneider 29516c3129 improve out of bounds error message 2016-06-01 11:22:37 +02:00
Oliver Schneider 12c2e5fab2 4byte pointers 2016-06-01 11:10:43 +02:00
Oliver Schneider b78ca5f7e1 replace panic!s with Result 2016-06-01 11:10:43 +02:00
Scott Olson 63fdd46f9a Handle custom discriminant values and detect invalid discriminants. 2016-03-28 21:08:16 -06:00
Scott Olson acf2ceb534 Check for undefinedness when reading from memory. 2016-03-26 23:56:49 -06:00
Scott Olson dbc9913b7d Implement pointer primvals and comparison ops on them. 2016-03-18 23:03:46 -06:00
Scott Olson 0b37be71c2 Change invalid pointer read panic into Err. 2016-03-17 07:24:10 -06:00
Scott Olson a7c7764c93 Reorganize and simplify. 2016-03-14 21:48:00 -06:00