软件信息:
1) OS版本及分支:openEuler 23.09 round1
2) 内核信息:Linux openEuler 6.4.0-1.0.2.6.oe2309
【问题复现步骤】
1、PIE:查看编译日志中是否包含FPIE编译选项
2、STRIP:(1):rpm2cpio **.rpm|cpio -id (2)file $file
3、RPATH:(1):rpm2cpio **.rpm|cpio -id (2)readelf -d $file
【预期结果】
1、包含FPIE安全编译选项
2、不包含not stripped
3、不包含rpath/runpath
【实际结果】
papi-7.0.1-1.oe2309安全编译选项Runpath/Rpath不满足
【不满足文件列表】
Runpath/Rpath不满足:
usr/bin/papi_event_chooser
usr/bin/papi_cost
usr/bin/papi_avail
usr/bin/papi_clockres
usr/bin/papi_hardware_avail
usr/bin/papi_native_avail
usr/bin/papi_component_avail
usr/bin/papi_mem_info
usr/bin/papi_version
usr/bin/papi_error_codes
usr/bin/papi_decode
usr/bin/papi_command_line
usr/bin/papi_multiplex_cost
usr/bin/papi_xml_event_info
Hi manyong041, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Programming-language, and any of the maintainers: @Charlie_Li , @algorithmofdish , @薄皮小笼包 , @caodongxia , @lyn
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
个人工程构建验证,已删除 /usr/bin 目录中二进制包含的 runpath 及 rpath相关信息
rc2回归验证通过
登录 后才可以发表评论