• Lei Wang's avatar
    [Refactor] Update GlobalMemChecker to Detect Lower Bound illegal memory access automatically (#505) · 84ddb9e1
    Lei Wang authored
    * [Refactor] Update GlobalMemChecker to use IRVisitorWithAnalyzer for improved analysis (#505)
    
    * Refactored GlobalMemChecker to inherit from IRVisitorWithAnalyzer, enhancing its capabilities for expression analysis.
    * Updated condition checks to utilize the new analyzer interface, improving clarity and correctness in memory access validation.
    * Added additional lower bound condition checks to ensure comprehensive validation of memory access indices.
    
    * [Refactor] Update GlobalMemChecker to use StmtExprVisitor for improved memory access validation
    
    * Refactored GlobalMemChecker to inherit from StmtExprVisitor, enhancing its capabilities for expression analysis.
    * Updated condition checks to utilize the new analyzer interface, improving clarity and correctness in memory access validation.
    * Ensured that the analyzer is passed correctly during instantiation, maintaining consistency in condition checks.
    84ddb9e1
legalize_safe_memory_access.cc 9.88 KB