{"id":1189542,"date":"2023-10-06T10:38:29","date_gmt":"2023-10-06T14:38:29","guid":{"rendered":"https:\/\/www.prime-wow.com\/?p=1189542"},"modified":"2023-10-06T10:38:29","modified_gmt":"2023-10-06T14:38:29","slug":"the-challenge-of-compiling-for-verified-architectures","status":"publish","type":"post","link":"https:\/\/www.prime-wow.com\/?p=1189542","title":{"rendered":"[$] The challenge of compiling for verified architectures"},"content":{"rendered":"<p>On its surface, the BPF virtual machine resembles many other computer<br \/>\narchitectures; it has registers and instructions to perform the usual<br \/>\noperations.  But there is a key difference: BPF programs must pass the<br \/>\nkernel&#8217;s verifier before they can be run.  The verifier imposes a long list<br \/>\nof additional restrictions so that it can prove to itself that any given<br \/>\nprogram is safe to run; getting past those checks can be a source of<br \/>\nfrustration for BPF developers.  At the <a href=\"https:\/\/gcc.gnu.org\/wiki\/cauldron2023\">2023 GNU Tools Cauldron<\/a>,<br \/>\nJos\u00e9 Marchesi looked at the problem of compiling for verified architectures<br \/>\nand how the compiler can generate code that will pass verification.&#013;<br \/>\n&#013;<br \/>\nSource: LWN.net &#8211; <a href=\"https:\/\/lwn.net\/Articles\/946254\/\" target=\"_blank\" rel=\"noopener\">[$] The challenge of compiling for verified architectures<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On its surface, the BPF virtual machine resembles many other computer architectures; it has registers and instructions to perform the usual operations. But there is a key difference: BPF programs must pass the kernel&#8217;s verifier before they can be run. &hellip; <a href=\"https:\/\/www.prime-wow.com\/?p=1189542\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[72],"tags":[75],"class_list":["post-1189542","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts\/1189542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1189542"}],"version-history":[{"count":0,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts\/1189542\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1189542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1189542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1189542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}