<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>C语言 - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/c%E8%AF%AD%E8%A8%80/</link><description>C语言 - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Sun, 12 Jan 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/c%E8%AF%AD%E8%A8%80/" rel="self" type="application/rss+xml"/><item><title>HTTP 相关的 C 库：libmicrohttpd 与 libcurl</title><link>https://rd163.visword.com/posts/http-libs/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/http-libs/</guid><description><![CDATA[<p>在 C/C++ 项目里，如果只想做最简单的 HTTP 收发，往往不必引入一整套 Web 框架。根据角色不同，常用的有两类基础库：</p>
<ul>
<li><strong>服务端库（HTTP server）</strong>：把 HTTP 协议层封装好，让应用嵌入一个监听端口、处理请求的逻辑，典型代表是 GNU 的 <strong>libmicrohttpd</strong>。</li>
<li><strong>客户端库（HTTP client）</strong>：负责发起请求、处理重定向、TLS、Cookie 等，事实标准是 <strong>libcurl</strong>。</li>
</ul>
<p>下面分别记录这两组库的要点，作为日后选型与查阅的索引。</p>]]></description></item><item><title>函数调用关系绘制</title><link>https://rd163.visword.com/posts/function-call-drawing/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/function-call-drawing/</guid><description><![CDATA[<h2 id="简介" class="headerLink">
    <a href="#%e7%ae%80%e4%bb%8b" class="header-mark"></a>简介</h2><p><a href="https://www.gnu.org/software/cflow/" target="_blank" rel="noopener noreferrer">cflow</a> 是 GNU 项目维护的一款 C 语言静态分析（static analysis）工具，能够扫描源码并生成函数之间的调用关系图（call graph）。它不需要运行程序，仅依赖源代码本身，因此非常适合用于梳理陌生代码库、排查遗留项目或为代码写文档。</p>]]></description></item></channel></rss>