Programmer's Gate /Effective Python Effective Python Pythonã®åºæ¬ãä¸éãåå¼·ãã人ã次ã«èªãè¨äºãç®æãã¦æ¸ãäºå®ã Python 2.5ã対象ã¨ããã
TOC æ¦è¦ å®è¡ä¾ åä½ç°å¢ (OS) ãã¦ã³ãã¼ã ãã«ãç°å¢ ãã«ãæé 解æå¯è½ãªããã°ã©ã ã¹ã¯ãªã¼ã³ã·ã§ãã forkããããã°ã©ã ã®è§£æ execããããã°ã©ã ã®è§£æ å帰 ãã«ãã¹ã¬ãã ã¿ããªã ãããä¾å¤ã¹ãã¼ mainã®åã«å¼ã°ããé¢æ° å¶éäºé ã³ãã³ãã©ã¤ã³ãªãã·ã§ã³ ä»çµã¿ (ã¤ã¶ãã) é¡ä¼¼ãã¼ã« æ¦è¦ tracefã¯ãLinuxåãã®ãé¢æ°ã³ã¼ã«ãã¬ã¼ãµãã§ãã ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã«æ¨æºã§å«ã¾ãã¦ããltraceã³ãã³ãã«ä¼¼ã¦ãã¾ããã次ã®ãããªç¹å¾´ã»ç¸éç¹ãããã¾ãã DSO(DLL)å ã®ã©ã¤ãã©ãªé¢æ°ã®å¼ã³åºãã ãã§ãªããèªä½ã®é¢æ°ã®å¼ã³åºãããã¬ã¼ã¹ã§ãã é¢æ°å¼ã³åºãã®è¦ªåé¢ä¿ãããªã¼ç¶ã«è¦ããã表示ã§ãã é¢æ°ã®å®è£ ããã¦ãããã¡ã¤ã«åãè¡çªå·ã表示ã§ãã ãããã®ç¹å¾´ã«ããã æªç¥ã®å¤§ããªããã°ã©ã ã®åããææ¡ãããã¨ã ã½ã¼ã¹ã³ã¼ããèªãä¸ã§
ãã®ãã¼ã¸ã¯æ¸ãããã§ãã hogetraceã¨ããååã¯ããã¾ããªã®ã§èªéãã¦tracefã«å¤æ´ãã¾ããã TOC æ¦è¦ å®è¡ä¾ åä½ç°å¢ (OS) ãã¦ã³ãã¼ã ãã«ãç°å¢ ãã«ãæé 解æå¯è½ãªããã°ã©ã ã¹ã¯ãªã¼ã³ã·ã§ãã forkããããã°ã©ã ã®è§£æ execããããã°ã©ã ã®è§£æ å帰 ãã«ãã¹ã¬ãã ã¿ããªã ãããä¾å¤ã¹ãã¼ mainã®åã«å¼ã°ããé¢æ° å¶éäºé ã³ãã³ãã©ã¤ã³ãªãã·ã§ã³ ä»çµã¿ (ã¤ã¶ãã) é¡ä¼¼ãã¼ã« æ¦è¦ hogetrace tracefã¯ãLinuxåãã®ãé¢æ°ã³ã¼ã«ãã¬ã¼ãµãã§ãã èªä½é¢æ°ã®å é ã¨æ«å°¾ã«ã0xCCãä»æããããã«ããptraceãã¼ã¹ã®ltraceãã©ãã§ãããããã ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã«æ¨æºã§å«ã¾ãã¦ããltraceã³ãã³ãã«ä¼¼ã¦ãã¾ããã次ã®ãããªç¹å¾´ã»ç¸éç¹ãããã¾ãã DSO(DLL)å ã®ã©ã¤ãã©ãªé¢æ°ã®å¼ã³åºãã ãã§ãªã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}