<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>资源 :: 标签 :: yafeng 的博客</title>
    <link>https://yafengabc.github.io/tags/%E8%B5%84%E6%BA%90/index.html</link>
    <description></description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Tue, 06 Oct 2026 20:40:00 +0800</lastBuildDate>
    <atom:link href="https://yafengabc.github.io/tags/%E8%B5%84%E6%BA%90/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>开发笔记：让 gocld 链接 .rsrc 资源节</title>
      <link>https://yafengabc.github.io/goc/devnotes/03-%E8%AE%A9gocld%E9%93%BE%E6%8E%A5rsrc%E8%B5%84%E6%BA%90%E8%8A%82/index.html</link>
      <pubDate>Tue, 06 Oct 2026 20:40:00 +0800</pubDate>
      <guid>https://yafengabc.github.io/goc/devnotes/03-%E8%AE%A9gocld%E9%93%BE%E6%8E%A5rsrc%E8%B5%84%E6%BA%90%E8%8A%82/index.html</guid>
      <description>让 gocld 能读入、合并并写出 PE 的 .rsrc 资源节。本文记录这次实现里踩到的字节级坑：OffsetToData 是文件偏移而不是 RVA 造成的循环依赖、IMAGE_RESOURCE_DIRECTORY_ENTRY 两个字段共用最高位作标志、rd32 的符号扩展把 0x80000000 变成负数、名字字符串是节内绝对偏移而非紧跟 entry、以及名字池的 NUL 终止符。</description>
    </item>
  </channel>
</rss>