為支援軟體混亂器[2],我們以先前Java直譯器[1]中的語法樹系統為雛型,做進一步的重整及開發。新版的語法樹類別包含有關聯欄位,形成雙向鏈結的關係,它們必須即時性地確保雙向關係的一致性。 null在程式語言中是不可或缺的一環,但它卻使除錯變得困難。當規模龐大的程式發生null指標例外時,很難立即追蹤到造成錯誤的所在。 為了解決這問題,本論文提出一套對null指標的處理方式。依程式的使用狀況,以illegal type或none type取代原本使用null的地方。減少除錯的成本並使專案得以在更穩定的環境下開發。
To support software obfuscator [2], we applied the syntax tree system as the model for further development and refactory system we had developed in the Java interpreter [1]. The new version of syntax tree system’s class contains relation fields with two-way link between these. A relation field must ensure that those relationships are consistent in real time. Null is extensively used in programming languages. However, it makes debug becomes difficult. When the large-scale programs exploded the null pointer exception, it is rather difficult to immediately know how that occurred. To solve this problem, in this paper, we propose a methodology on null pointer handling. According to code’s statue, illegal type or none type is used to replace the original use of null's place. The cost of debugging and the program to be developed in the stability environment was reduced.