{"id":4986,"date":"2014-03-30T17:28:41","date_gmt":"2014-03-30T17:28:41","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/dynamic-elf-patching-on-bsd-with-libmonkey-collection-of-common-programming-errors\/"},"modified":"2014-03-30T17:28:41","modified_gmt":"2014-03-30T17:28:41","slug":"dynamic-elf-patching-on-bsd-with-libmonkey-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/dynamic-elf-patching-on-bsd-with-libmonkey-collection-of-common-programming-errors\/","title":{"rendered":"Dynamic ELF patching on BSD with libmonkey-Collection of common programming errors"},"content":{"rendered":"<p>I played a little bit with nice library called libmonkey which gives nice interface for dynamic ELF patching on Linux. However, I&#8217;m trying to run it on FreeBSD; compilation passed, but I&#8217;m getting core dump in runtime (gdb is pointing header offset calculation code).<\/p>\n<p>I&#8217;m not familiar with ELF, but aren&#8217;t headers should be the same on linux and freebsd?<\/p>\n<p>Anyone have idea what is happening?<\/p>\n<p>Thanks<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I played a little bit with nice library called libmonkey which gives nice interface for dynamic ELF patching on Linux. However, I&#8217;m trying to run it on FreeBSD; compilation passed, but I&#8217;m getting core dump in runtime (gdb is pointing header offset calculation code). I&#8217;m not familiar with ELF, but aren&#8217;t headers should be the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4986","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4986"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4986\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}