This group is locked. No changes can be made to the group while it is locked.
Re: math between pkt pointer and register with unbounded min value is not allowed #verifier
Yonghong Song
On Wed, Mar 27, 2019 at 10:17 AM Jiong Wang <jiong.wang@...> wrote:
If you use BPF constructor debug=16 flag, it will print out theOn 27 Mar 2019, at 16:43, Simon <contact@...> wrote:Just my humble opinion, I would recommend: register state for every insn if you are even more curious. To resolve this issue, llvm may need to do more: - prevent/undo optimization which may cause ultimate verifier rejections. - provide hints (e.g., through BTF) to verifier so verifier may selectively do some analysis or enable some tracking for the cases where BTF instructed to handle. For example, BTF may tell verifier two register have the same state at a particular point and verifier only needs to check these two registers with limited range and no others, etc. Regards, |