Получи случайную криптовалюту за регистрацию!

Many people post a recent announcement of the ARMv9 architectu | Bortlog

Many people post a recent announcement of the ARMv9 architecture, but the most remarkable feature (in my opinion) has been announced for a long time now, and its support is even ready in compilers and operating systems. "Memory tagging" can be a revolutionary leap that will ensure the security and correctness of programs written in languages ​​with manual memory management.

For less than 5% CPU memory bandwidth, you get a 93% chance of intercepting global-buffer-overflow, heap-buffer-overflow, use-after-free, use-after-return, use-after-scope, stack-buffer-overflow. If your program works long enough and you have really good test coverage, you will catch all these bugs without any problems at all. In debug mode, you can pay 20% of bandwidth and get a full stack trace of where exactly, who and how violated the integrity, and so on.

In such a world, the benefits of big runtimes, overcomplicated programming languages, etc., partially disappear, and we again, solve everything on the silicon level))

In short, I highly recommend this talk; there are more details on how exactly this is implemented at the LLVM compiler and memory allocator in Android.