Problem:
After ‘exec’ ,i can’t set a breakpoint becasue modules are none.
Description:
Before ‘exec’, i can set a breakpoint becasue modules can be automatically loaded.
(lldb) image list
[ 0] E3B3B71E-434D-CD45-E91A-478AB38EADD5 0x0000005569c7b000 /home/mi/ssd/download/Demo/qcom-symbols-system-V0.0.0.0.XXXXXXX-userroot-13.0-74493dc682/out/target/product/missi/symbols/system/bin/init
[ 1] E3B3B71E-434D-CD45-E91A-478AB38EADD5 0x0000005569c7b000 qcom-symbols-system-V0.0.0.0.XXXXXXX-userroot-13.0-74493dc682/out/target/product/missi/symbols/system/bin/init
…
After ‘exec’,i can’t set a breakpoint becasue modules are none.Also , address can’t be resolved to function.
(lldb) bt
- thread #1, name = ‘logd’, stop reason = exec
- frame #0: 0x00000078b84f74c0
(lldb) image list
error: the target has no associated executable images
- frame #0: 0x00000078b84f74c0
So , how could load the modules correctly?I tried various methods but all failed