Lines Matching refs:add32
61 static void add32(uint8_t *p, int32_t v) { write32le(p, read32le(p) + v); } in add32() function
87 add32(off, secRel); in applySecRel()
103 case IMAGE_REL_AMD64_ADDR32: add32(off, s + config->imageBase); break; in applyRelX64()
105 case IMAGE_REL_AMD64_ADDR32NB: add32(off, s); break; in applyRelX64()
106 case IMAGE_REL_AMD64_REL32: add32(off, s - p - 4); break; in applyRelX64()
107 case IMAGE_REL_AMD64_REL32_1: add32(off, s - p - 5); break; in applyRelX64()
108 case IMAGE_REL_AMD64_REL32_2: add32(off, s - p - 6); break; in applyRelX64()
109 case IMAGE_REL_AMD64_REL32_3: add32(off, s - p - 7); break; in applyRelX64()
110 case IMAGE_REL_AMD64_REL32_4: add32(off, s - p - 8); break; in applyRelX64()
111 case IMAGE_REL_AMD64_REL32_5: add32(off, s - p - 9); break; in applyRelX64()
124 case IMAGE_REL_I386_DIR32: add32(off, s + config->imageBase); break; in applyRelX86()
125 case IMAGE_REL_I386_DIR32NB: add32(off, s); break; in applyRelX86()
126 case IMAGE_REL_I386_REL32: add32(off, s - p - 4); break; in applyRelX86()
190 case IMAGE_REL_ARM_ADDR32: add32(off, sx + config->imageBase); break; in applyRelARM()
191 case IMAGE_REL_ARM_ADDR32NB: add32(off, sx); break; in applyRelARM()
198 case IMAGE_REL_ARM_REL32: add32(off, sx - p - 4); break; in applyRelARM()
302 case IMAGE_REL_ARM64_ADDR32: add32(off, s + config->imageBase); break; in applyRelARM64()
303 case IMAGE_REL_ARM64_ADDR32NB: add32(off, s); break; in applyRelARM64()
310 case IMAGE_REL_ARM64_REL32: add32(off, s - p - 4); break; in applyRelARM64()