• M
    Add musl.dl.debug.dlclose param for debugging use-after-dlclose issues · bc55a310
    MapleStory 提交于
    If musl.dl.debug.dlclose is enabled, the sections of dlclosed library will not be unmapped.
    Instead the mmap area will be set to PROT_NONE. If the program run into the dlclosed library
    the crash log would contain the library info rather than a unmapped pc.
    The param can be set by following cmdline:
    param set musl.dl.debug.dlclose enable
    
    Issue: I69Y3Z
    Test: backtrace_local_test
    Signed-off-by: NMapleStory <zengzhi5@huawei.com>
    bc55a310
ld_log.c 2.8 KB