Jessica Clarke 6d2648bcab tip: Fix pointer-vs-integer confusion
Currently IREMOTE assumes that every value is (initially) a pointer to a
long. This is true for NUMBERs, but false for STRINGs, which are instead
pointers to pointers, though on ILP32 and LP64 systems these happen to
have the same representation, but this is still a strict aliasing
violation, and of course breaks on systems where the representations are
not the same, such as CHERI. We do not currently have any BOOLs (short,
curiously) or CHARs used with IREMOTE, though the code should not be
relying on that.

This removes the unused setaddress macro, and the now-unused address
macro due to the above issue.

Reviewed by:	imp, kib
Obtained from:	CheriBSD
Differential Revision:	https://reviews.freebsd.org/D30697
2021-06-08 18:30:59 +01:00
..
2021-03-13 18:26:15 +01:00
2017-10-31 00:07:04 +00:00
2020-06-13 09:16:07 +00:00
2019-01-12 12:35:02 +00:00
2019-12-11 17:37:53 +00:00
2020-11-16 18:41:49 +00:00
2020-10-09 14:03:45 +00:00
2019-12-11 17:37:53 +00:00
2020-10-21 16:30:34 +00:00
2020-06-23 10:27:41 +00:00
2020-07-27 16:51:23 +00:00
2020-10-10 13:01:04 +00:00
2020-10-09 19:12:44 +00:00
2021-01-07 09:31:03 +00:00
2017-10-31 00:07:04 +00:00
2021-03-03 14:21:56 -06:00
2018-04-25 18:56:27 +00:00
2020-10-30 09:48:41 +00:00
2017-10-31 00:07:04 +00:00
2021-05-13 10:10:22 +02:00
2021-03-13 18:26:15 +01:00
2020-10-29 18:39:04 +00:00
2020-11-19 19:05:16 +00:00
2017-10-31 00:07:04 +00:00
2020-10-24 16:40:34 +00:00
2021-04-06 11:57:07 +02:00
2020-12-26 11:47:47 -05:00
2021-04-18 10:20:11 +02:00
2019-12-11 17:37:53 +00:00
2020-06-29 15:15:14 +00:00
2017-10-31 00:07:04 +00:00
2020-11-29 18:22:14 +00:00
2020-12-10 18:34:15 +00:00
2020-12-19 12:54:00 +00:00
2020-10-09 19:12:44 +00:00
2018-03-02 23:31:55 +00:00
2020-06-20 11:27:59 +00:00
2021-01-07 09:31:03 +00:00
2021-01-09 18:37:25 +01:00
2021-01-29 10:53:50 -08:00
2019-11-12 22:31:59 +00:00
2021-04-18 19:46:19 -07:00
2020-06-25 16:46:27 +00:00
2020-12-11 08:04:54 +00:00
2020-12-11 19:27:21 +00:00
2020-12-29 21:48:12 +01:00
2020-12-29 21:35:24 +01:00
2021-01-09 18:22:08 +01:00
2018-01-06 15:52:28 +00:00
2021-05-21 06:43:41 +02:00
2020-10-24 05:52:29 +00:00
2020-06-18 08:26:26 +00:00
2019-12-11 17:37:53 +00:00
2021-01-29 23:52:13 -06:00
2021-05-31 16:12:44 -06:00
2018-11-20 00:06:53 +00:00
2020-07-01 16:33:32 +00:00
2020-06-27 11:19:18 +00:00
2018-07-03 19:09:46 +00:00
2018-06-25 11:44:56 +00:00
2021-01-05 16:32:27 +01:00
2020-06-20 11:24:29 +00:00
2019-12-11 17:37:53 +00:00
2020-06-18 15:14:10 +00:00
2019-05-01 19:35:45 +00:00
2019-12-11 17:37:53 +00:00
2020-03-26 17:58:52 +00:00
2021-05-10 23:14:35 -07:00
2017-12-28 05:33:39 +00:00
2020-06-23 10:22:58 +00:00
2019-12-11 17:37:53 +00:00
2020-10-09 14:03:45 +00:00
2020-07-07 16:07:39 +00:00
2021-06-08 18:30:59 +01:00
2020-07-14 22:43:40 +00:00
2020-08-30 17:37:56 +00:00
2019-11-20 19:43:34 +00:00
2017-10-31 00:07:04 +00:00
2021-01-02 10:50:08 +09:00
2020-09-11 13:28:37 +00:00
2018-11-12 07:14:34 +00:00
2021-05-21 22:51:21 +02:00
2017-10-31 00:07:04 +00:00
2020-08-24 17:57:08 +00:00
2020-08-30 17:40:59 +00:00
2020-12-12 15:38:32 +00:00
2020-01-25 21:16:45 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2020-07-14 01:54:24 +00:00
2020-09-11 13:28:37 +00:00