They would be extremely unwise to allow untrusted third party apps access to shared memory.
Devs dont have to share the whole memory used by ED. They also can specify readonly shared memory for a couple of data.
This is also used by some other games.
Here a example on my github account for Assetto Corsa:
You can find the class for shared memory reading in the files actelemetry.h and actelemetry.cpp