Open tnballo opened 6 years ago
@tnballo Sorry for getting back at this soo late. If you happen to have the bc file, Specifically, /home/tballo/mediatek_kernel/llvm_bitcode_out/drivers/misc/mediatek/thermal/llvm_link_final/final_to_check.bc
, Could you share it please?
Even with no timeout, Soundy Analysis fails for 8 of the 436 entry points in the provided Mediatek kernel on my machine. 2 of these entry points actually crash Dr. Checker, the crash seems to implicate a failing assert because of an error parsing LLVM IR (operand out of bounds).
To replicate here's a bash script that runs analysis for 4 entry points per the standalone instructions (please update path vars in script accordingly):
mtkfb_ioctl
- analysis completes, just to prove my env is setup correctly.ppm_dlpt_limit_proc_write
- triggers the crash.ppm_thermal_limit_proc_write
- triggers the crash.ppm_dlpt_budget_trans_percentag_proc_write
- no crash, just silent failure (no output JSON), not sure why? Orthogonal issue.Here is the output of the above script, including a strack trace for the crashes:
Let me know if I can provide more info. Thanks!