10 points | by telotortium 8 hours ago ago
3 comments
Here is my proposal with a lot of similarities: https://www.open-std.org/JTC1/SC22/WG14/www/docs/n3212.pdf
BTF or DWARF info in principle contain the information needed, though working with them is cumbersome...
Been there… Pendantic nitpick: it's more akin to introspection, reflection would be self-modifying code.
Here is my proposal with a lot of similarities: https://www.open-std.org/JTC1/SC22/WG14/www/docs/n3212.pdf
BTF or DWARF info in principle contain the information needed, though working with them is cumbersome...
Been there… Pendantic nitpick: it's more akin to introspection, reflection would be self-modifying code.