<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>scior</author_name>
  <author_url>https://blog.hatena.ne.jp/scior/</author_url>
  <blog_title>しおメモ</blog_title>
  <blog_url>https://scior.hatenablog.com/</blog_url>
  <categories>
    <anon>LLDB</anon>
    <anon>メモ</anon>
  </categories>
  <description>LLDBのcommand regexを使うと、zshのanonymous functionのaliasみたいな感じで、 引数に置換かけながらLLDBコマンドを実行するaliasが作れます。 これを利用することで、簡単なコマンドならば、Pythonスクリプトを用意する手間が省けます。 やりかた 構文はシンプルで、 command regex &lt;cmd-name&gt; [s/&lt;regex&gt;/&lt;subst&gt;/ ...] で、置換パターンはsedのようにs///で書けば問題ないです。(複数可) これを.lldbinitに記載しておけば、毎回LLDBが立ち上がるたびに、コマンドがセットされます。 scior…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fscior.hatenablog.com%2Fentry%2F2019%2F12%2F01%2F223839&quot; title=&quot; LLDBのcommand regexを使って動的なaliasを作る - しおメモ&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>2019-12-01 22:38:39</published>
  <title> LLDBのcommand regexを使って動的なaliasを作る</title>
  <type>rich</type>
  <url>https://scior.hatenablog.com/entry/2019/12/01/223839</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
