2021年1月4日 星期一

[Programming] 重要的環境變數

  • PATH
    • 這應該不用多說, 執行時期搜尋的 directory path
  • LD_LIBRARY_PATH
    • dynamically load library search path
  • RPATH
    • run-time search path
  • ORIGIN
    • executable name

2021年1月3日 星期日

[Programming] Check binary compiler information

  • objdump -s --section .comment /path/binary