This invention relates to the field of
chip technology and discloses a method, device, medium, and program product for memory out-of-bounds detection. The method includes: obtaining the operator
semantics and input parameters corresponding to a target operator, and generating initial address attribute entries based on the operator
semantics and input parameters; obtaining the computing core corresponding to the target operator, and storing each initial address attribute entry in a fine-grained
memory protection unit corresponding to the computing core; and performing memory out-of-bounds detection on memory access requests of the computing core based on each initial address attribute entry to obtain the detection result. By pre-deriving the address attribute entries corresponding to the target operator based on the operator
semantics and input parameters, adding a fine-grained
memory protection unit for storing the address attribute entries, and implementing real-time memory out-of-bounds detection of memory access requests based on the address attribute entries, efficient and accurate memory out-of-bounds detection under a
memory pool mechanism can be achieved, ensuring memory
data security.