This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM620-Q1:如何启用内核 Kasan 调试?

Guru**** 2372980 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1506029/am620-q1-how-to-enable-kernel-kasan-debug

器件型号:AM620-Q1

工具/软件:

尊敬的专家

当前的 SDK 版本为  Processor SDK 10.00.07.04。  如何启用内核 Kasan 调试?  也可以提供内核 调试版本 defconfig 文件?

谢谢、

刘秀林

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Xiulin:

    Processor SDK 内核未启用 Kasan、但通过内核读取数据时、应使用选项 CONFIG_Kasan 启用它。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Bin:

    我尝试配置  CONFIG_Kasan 和 CONFIG_SLUB_DEBUG、它可以分离堆栈 OOB 和 无无效、无法分离用户 after-free 和 kmalloc/free OOB。

    您能否在 EVM 电路板上验证它?

    谢谢、

    刘秀林

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Xiulin:

    Kasan 是与 AM62x 器件无关的内核功能、未在 SDK 中验证。 如何启用 Kasan 不在本论坛的支持范围内。 请向开放源代码社区寻求帮助。