GARBAGE COLLECTION METHOD AND APPARATUS
    2.
    发明公开

    公开(公告)号:US20240232073A9

    公开(公告)日:2024-07-11

    申请号:US18363285

    申请日:2023-08-01

    CPC classification number: G06F12/0253 G06F2212/7205

    Abstract: Disclosed herein are a garbage collection method and apparatus. The garbage collection method includes when an area dynamically allocated through a malloc( ) function or a new operator of a standard C library is deallocated through a free( ) function or a delete operator, inserting the deallocated area into a quarantine list, recording a base address and an end address of each of areas inserted into the quarantine list in a CSR_quarantined_chunks register, finding a physical address of a memory page used by a processor and searching data in the memory page for a value included in a quarantined area of the CSR_quarantined_chunks register, when a value included in the quarantined area is not present, setting a state flag bit of the register to 0, and deleting an area which the state flag bit is 0 from the quarantine list, and inserting the area into a free list.

    APPARATUS AND METHOD FOR VERIFYING INTEGRITY OF HARDWARE BOARD

    公开(公告)号:US20230004680A1

    公开(公告)日:2023-01-05

    申请号:US17738524

    申请日:2022-05-06

    Abstract: Disclosed herein are an apparatus and method for verifying the integrity of a hardware board. The apparatus includes one or more processors and execution memory for storing at least one program that is executed by the processors, wherein the program is configured to compare images of components arranged on a verification target board and a source board in a first image, obtained by photographing the verification target board, and in a second image prestored for the source board, as to whether images of the components are identical to each other, and compare first firmware extracted from the verification target board with second firmware of the source board, as to whether first firmware is identical to second firmware and verify integrity of the verification target board based on whether the images are identical to each other and on whether the pieces of firmware are identical to each other.

    DYNAMIC MEMORY MANAGEMENT APPARATUS AND METHOD FOR ALLOCATING/DEALLOCATING DYNAMIC MEMORY USING THE SAME

    公开(公告)号:US20240160565A1

    公开(公告)日:2024-05-16

    申请号:US18349673

    申请日:2023-07-10

    CPC classification number: G06F12/0292 G06F2212/1052

    Abstract: Disclosed herein are a dynamic memory management apparatus and a method for allocating/deallocating dynamic memory. The apparatus includes actual memory configured to allocate or deallocate a heap, virtual memory configured to set/store heap allocation information at a virtual address mapped to an actual address that is a body start address of a heap area of the actual memory, and a dynamic memory manager configured to process a memory allocation or deallocation request and the virtual memory, wherein the heap allocation information includes access authority information for storing information indicating whether a heap at an actual address is allocated or deallocated, and count information increased whenever a heap is allocated, and the dynamic memory manager is configured to return an address pointer including an actual address of a heap allocated to the actual memory and heap allocation information to the program, and process a heap deallocation or reallocation request.

    DATA RACE DETECTION METHOD AND APPARATUS

    公开(公告)号:US20250036486A1

    公开(公告)日:2025-01-30

    申请号:US18917040

    申请日:2024-10-16

    Abstract: Disclosed herein are a data race detection method and apparatus. The data race detection method includes recording information about an instruction executed by a thread in a destination register in a Central Processing Unit (CPU) corresponding to the thread, setting information of an access log field corresponding to the instruction for a cache line of a cache memory, and detecting a data race using the information of the access log field and information of the destination register.

    METHOD AND APPARATUS FOR SECURING INDIRECT FUNCTION CALL

    公开(公告)号:US20230195886A1

    公开(公告)日:2023-06-22

    申请号:US17849960

    申请日:2022-06-27

    CPC classification number: G06F21/54 G06F2221/033

    Abstract: Disclosed herein is a method for securing an indirect function call according to an embodiment of the present invention. The method may include searching for an instruction that indirectly calls a function in intermediate representation code, calculating the number of functions that have to be allowed to be indirectly called based on the found instruction, identifying the address of a function loaded at the N-th lowest address arbitrarily set in advance, among the functions, the number of which is calculated, identifying indexes for selecting callee functions to be indirectly called based on the found instruction, determining whether to allow the function to be called using the identified indexes, and determining, when the function is allowed to be called, whether to allow the function to be called using the address of a callee function, the memory address of which is N-th lowest, among the callee functions.

Patent Agency Ranking