panda-re / panda

Platform for Architecture-Neutral Dynamic Analysis
https://panda.re
Other
2.45k stars 475 forks source link

Allow larger kernel cmdline for MIPS Malta #1484

Closed be32826 closed 4 months ago

be32826 commented 4 months ago

Previously, a kernel cmdline longer than 256 bytes would be silently truncated. This PR increases that size to the maximum amount such that it doesn't overlap the kernel. (ARM seems to not have this issue, but the kernel has its own COMMAND_LINE_SIZE limit.)