函数调用

函数调用

程序执行前

image-20220304161707737

执行system函数时

image-20220304161934156

接下来需要调用system需要的arg

image-20220304162101047

这时候的system的栈帧

retuen add = exit()

arg = "/bin/sh"

exit

image-20220304162402612

system函数同

posted @ 2022-03-04 16:25  MuRKuo  阅读(40)  评论(0编辑  收藏  举报