<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>C++ - 标签 - 蛇索尼 Aiden</title><link>https://blog.haitai-social.com/tags/c++/</link><description>C++ - 标签 - 蛇索尼 Aiden</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>shesl-meow@qq.com (佘崧林)</managingEditor><webMaster>shesl-meow@qq.com (佘崧林)</webMaster><lastBuildDate>Wed, 09 Aug 2023 12:00:00 +0800</lastBuildDate><atom:link href="https://blog.haitai-social.com/tags/c++/" rel="self" type="application/rss+xml"/><item><title>:pager:C++ CoreDump 案例分析</title><link>https://blog.haitai-social.com/posts/c++-coredump-%E6%A1%88%E4%BE%8B%E5%88%86%E6%9E%90/</link><pubDate>Wed, 09 Aug 2023 12:00:00 +0800</pubDate><author>佘崧林</author><guid>https://blog.haitai-social.com/posts/c++-coredump-%E6%A1%88%E4%BE%8B%E5%88%86%E6%9E%90/</guid><description>背景 为了避免过于冗长的前置介绍，本次介绍分享将不会介绍以下的内容： CPU、内存、磁盘、寄存器等概念是什么； 编译器将 C++ 等高级语言编译成机器语言</description></item><item><title>:moyai:Elf文件分析指北</title><link>https://blog.haitai-social.com/posts/elf%E6%96%87%E4%BB%B6%E5%88%86%E6%9E%90%E6%8C%87%E5%8C%97/</link><pubDate>Thu, 29 Aug 2019 22:27:32 +0800</pubDate><author>佘崧林</author><guid>https://blog.haitai-social.com/posts/elf%E6%96%87%E4%BB%B6%E5%88%86%E6%9E%90%E6%8C%87%E5%8C%97/</guid><description>参考： https://linux-audit.com/elf-binaries-on-linux-understanding-and-analysis/ https://linux-audit.com/elf-binaries-on-linux-understanding-and-analysis/ https://lief.quarkslab.com/doc/stable/tutorials/05_elf_infect_plt_got.html http://blog.k3170makan.com/2018/10/introduction-to-elf-format-part-v.html http://dbp-consulting.com/tutorials/debugging/linuxProgramStartup.html https://stackoverflow.com/questions/34966097/what-functions-does-gcc-add-to-the-linux-elf 文件格式 ELF is the abbreviation for Executable and Linkable Format and defines the structure for binaries, libraries, and core files. The formal specification allows the operating system to interpreter its underlying machine instructions correctly. ELF files are typically the output of a compiler or linker and are a binary format. With the right tools, such file can be</description></item><item><title>:truck:堆区如何进行内存分配</title><link>https://blog.haitai-social.com/posts/%E5%A0%86%E5%8C%BA%E5%A6%82%E4%BD%95%E8%BF%9B%E8%A1%8C%E5%86%85%E5%AD%98%E5%88%86%E9%85%8D/</link><pubDate>Fri, 02 Aug 2019 23:45:34 +0800</pubDate><author>佘崧林</author><guid>https://blog.haitai-social.com/posts/%E5%A0%86%E5%8C%BA%E5%A6%82%E4%BD%95%E8%BF%9B%E8%A1%8C%E5%86%85%E5%AD%98%E5%88%86%E9%85%8D/</guid><description>参考： 长亭科技, 堆的概念 http://p4nda.top/2018/03/20/tcache/ https://ctf-wiki.github.io/ctf-wiki/pwn/linux/glibc-heap/tcache_attack-zh/ 什么是堆 堆的一些特点： 堆是可以根据运行时的需要进行动态分配和释放的内存，大小可变； 堆的实现重点关注内存块的组织和</description></item><item><title>:santa:C++ 杂技大全</title><link>https://blog.haitai-social.com/posts/c++%E6%9D%82%E6%8A%80%E5%A4%A7%E5%85%A8/</link><pubDate>Sun, 30 Dec 2018 00:00:00 +0800</pubDate><author>佘崧林</author><guid>https://blog.haitai-social.com/posts/c++%E6%9D%82%E6%8A%80%E5%A4%A7%E5%85%A8/</guid><description>关键字 __builtin_expect __builtin_expect：一个 if 分支极大可能不会执行，使用这个编译，附近的，编译器会将极大概率连续执行的代码编译为连续的二进</description></item></channel></rss>