• Examples of implementations with unusual uintptr_t?

    From Anthony Cuozzo@21:1/5 to All on Fri Jan 19 14:44:17 2024
    Does anyone know of any examples of compilers for flat memory
    architectures in which uintptr_t is defined, but the underlying values
    aren't just the memory addresses you'd use in the machine code for the architecture?

    fabricated e.g., "The cccccc compiler for the DMR-VI machine has
    uintptr_t with all bits reversed!"

    Thanks,
    --Anthony

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Scott Lurndal@21:1/5 to Anthony Cuozzo on Fri Jan 19 20:17:07 2024
    Anthony Cuozzo <anthony@cuozzo.us> writes:
    Does anyone know of any examples of compilers for flat memory
    architectures in which uintptr_t is defined, but the underlying values
    aren't just the memory addresses you'd use in the machine code for the >architecture?

    https://www.cl.cam.ac.uk/research/security/ctsrd/cheri/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)