CPC G06F 11/1004 (2013.01) [G06F 8/54 (2013.01); G06F 9/4403 (2013.01); G06F 9/445 (2013.01); H04L 9/14 (2013.01)] | 20 Claims |
1. A method, comprising:
accessing, by a processor, a kernel image including canister data;
allocating a canister data structure in a section of memory;
loading the canister data structure with the canister data from the kernel image, based on an interpreter obtained from the kernel image, wherein the canister data includes address relocation data and a checksum of the canister data;
assembling a binary image of the canister data structure, wherein the assembling includes at least performing reverse relocation on the canister data structure using the address relocation; data, and performing reverse relocation on the canister data structure comprises reversing changes previously made to the canister data structure during relocation, the changes comprising at least one of:
run-time changes; or
link-time changes;
generating a checksum based on the assembled binary image of the canister data structure; and
verifying, by the processor, the checksum of the canister data from the kernel image using the generated checksum, wherein integrity of the canister data structure is confirmed based on the verifying.
|