<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higepon</author_name>
  <author_url>https://blog.hatena.ne.jp/higepon/</author_url>
  <blog_title>higepon blog</blog_title>
  <blog_url>https://higepon.hatenablog.com/</blog_url>
  <categories>
    <anon>Mona</anon>
  </categories>
  <description>本当はアセンブラで書いてアセンブルしてバイナリ列を該当部に使って終わりなのですが寄り道。 引数で受け取ったアドレスの関数を call する関数を書いてアセンブリのコードを眺めます。 unsined int なのはお行儀が良くないですが気にしないでください。 void call_func(unsigned int func) { ((void(*)(void))func)(); }これを -S でアセンブラにすると核心部分 .globl _Z9call_funcj .type _Z9call_funcj, @function _Z9call_funcj: .LFB2: push %ebp .LC…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20061201%2F1164984958&quot; title=&quot; DLLエントリポイント - 実験1 - higepon blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-12-01 23:55:58</published>
  <title> DLLエントリポイント - 実験1</title>
  <type>rich</type>
  <url>https://higepon.hatenablog.com/entry/20061201/1164984958</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
