首页 > 其他分享 >how to strip debug info

how to strip debug info

时间:2023-05-26 15:58:00浏览次数:35  
标签:info starrocks -- how strip debug objcopy

compile:

c++ -g tmp.cc -o starrocks_be

split debug info

objcopy --only-keep-debug starrocks_be starrocks_be.debug
strip --strip-debug starrocks_be

link debug info with striped binary

objcopy --add-gnu-debuglink=starrocks_be.debug starrocks_be

optional

gdb -s starrocks_be.debug -e starrocks_be -c `core_file`

标签:info,starrocks,--,how,strip,debug,objcopy
From: https://www.cnblogs.com/stdpain/p/17434937.html

相关文章

  • How to initialize a static const map in c++?
    #include<map>usingnamespacestd;structA{staticmap<int,int>create_map(){map<int,int>m;m[1]=2;m[3]=4;m[5]=6;returnm;}staticconstma......
  • How to fix CMake error Could not find a package configuration file provided by
    CMakeErrorat/usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117(find_package):Couldnotfindapackageconfigurationfileprovidedby"boost_filesystem"(requestedversion1.71.0)withanyofthefollowingnames:boos......
  • NIST SP 800-37 Risk Management Framework for Information Systems and Organizatio
    NISTSP800-37RiskManagementFrameworkforInformationSystemsandOrganizationsASystemLifeCycleApproachforSecurityandPrivacy Itstructuredinto3levelorganizationview,businessmissionandinformationsystemview.800-37isshortforNIST......
  • 汇编-debug命令
    r   查看cpu寄存器内容     ......
  • How to change the default Python2 to Python3 on Linux All In One
    HowtochangethedefaultPython2toPython3onLinuxAllInOneRaspberryPi在Linux中如何把默认的Python2更改为Python3solutions.bashrc/.zshrcalias$sudovim.bashrc$cat.bashrc$cat.bashrc|greppy#.bashrc配置一个alias✅#Python3=......
  • The Difficulty of Passive Learning in Deep Reinforcement Learning
    发表时间:2021(NeurIPS2021)文章要点:这篇文章提出一个tandemlearning的实验范式来研究为什么offlineRL很难学。对于offlineRL来说,一个很严重的问题就是extrapolationerror,也就是没见过的stateactionpair的估计是不准确的。再加上bootstrapping的更新方式,就会加剧误差导致o......
  • WinForm中给弹窗添加遮罩层
    1.新建三个窗体:  2.MainForm主窗体代码如下: privateMaskForm_shadowForm;///<summary>///显示遮罩层///</summary>privatevoidShowMask(){_shadowForm=newShadowForm......
  • ctfshow终极考核
    信息收集这个环境就只涉及目录扫描了[18:04:02]200-43B-/.bowerrc[18:04:03]200-34B-/.gitignore[18:04:04]200-2KB-/.travis.yml[18:04:24]200-3KB-/page.php[18:04:28]200-19B-/robots.txt/robots.txt得到source.txt访问发......
  • How to enable Vsync with Software Rendering in SDL [SOLVED]. 如何在SDL2下实现
    HowtoenableVsyncwithSoftwareRenderinginSDL[SOLVED].Hi,IjustfiguredoutthedirtywaytoenablevsyncwithsoftwarerenderingonSDL.Thiswasbotheringmeforaweeknow&I'veseenmanyquestionsonthenetwithoutanswer.ButIf......
  • How to find the TLS used for the SQL Server connection
    本文是HowtofindtheTLSusedfortheSQLServerconnection这篇英语文章的翻译,此文出处请见于文章底部链接:原文出处[1]对于客户,我做了一些研究,如何找出SQLServer数据库会话连接使用了哪一种TLS协议。唯一的方式就是创建一个扩展事件,这个扩展事件有一个很大的限制就是只有......