Using relative call instead of hard-coded address, so one can enable debugshell without needing to disable ASLR.
I only have tested this on devices of version asav962 and asav9101, which seems work well.
As to the newest images asav9101.qcow2, there is trouble in disabling ASLR at the moment.
Take asa924 and asav962 as examples, the diff before and after are as follows.
asa924use hard-coded addressuse relative call
asav962use hard-coded addressuse relative call
I don't know why the symbol becomes socks_proxy_init instead of socks_proxy_server_start. But it works well.
In addition, the jmp condition after code_sign_verify_signature_image in lina_monitor changes.
Using relative call instead of hard-coded address, so one can enable debugshell without needing to disable
ASLR
. I only have tested this on devices of versionasav962
andasav9101
, which seems work well.Take
asa924
andasav962
as examples, the diff before and after are as follows.asa924
use hard-coded address use relative callasav962
use hard-coded address use relative callIn addition, the jmp condition after
code_sign_verify_signature_image
in lina_monitor changes.