Home
last modified time | relevance | path

Searched refs:cprLoader (Results 1 – 3 of 3) sorted by relevance

/dports/archivers/upx/upx-3.96/src/
H A Dp_ps1.cpp341 unsigned char *cprLoader = New(unsigned char, sz_lcpr); in buildLoader() local
342 int r = upx_compress(getLoader(), sz_lunc, cprLoader, &sz_lcpr, in buildLoader()
348 linker->addSection("lzma.exec", cprLoader, sz_lcpr, 0); in buildLoader()
349 delete [] cprLoader; in buildLoader()
H A Dp_lx_elf.cpp1151 unsigned char *const cprLoader = New(unsigned char, sizeof(h) + h.sz_cpr); in buildLinuxLoader() local
1154 int r = upx_compress(uncLoader, h.sz_unc, sizeof(h) + cprLoader, &h_sz_cpr, in buildLinuxLoader()
1165 int r = upx_decompress(sizeof(h) + cprLoader, h.sz_cpr, tmp, &tmp_len, h.b_method, NULL); in buildLinuxLoader()
1178 memcpy(cprLoader, &h, sizeof(h)); in buildLinuxLoader()
1181 linker->addSection("FOLDEXEC", cprLoader, sizeof(h) + sz_cpr, 0); in buildLinuxLoader()
1182 delete [] cprLoader; in buildLinuxLoader()
1220 unsigned char *const cprLoader = New(unsigned char, sizeof(h) + h.sz_cpr); in buildLinuxLoader() local
1223 int r = upx_compress(uncLoader, h.sz_unc, sizeof(h) + cprLoader, &h_sz_cpr, in buildLinuxLoader()
1247 memcpy(cprLoader, &h, sizeof(h)); in buildLinuxLoader()
1250 linker->addSection("FOLDEXEC", cprLoader, sizeof(h) + sz_cpr, 0); in buildLinuxLoader()
[all …]
H A Dp_mach.cpp391 unsigned char *const cprLoader = New(unsigned char, sizeof(h) + h.sz_unc); in buildMachLoader() local
394 int r = upx_compress(uncLoader, h.sz_unc, sizeof(h) + cprLoader, &sz_cpr, in buildMachLoader()
400 memcpy(cprLoader, &h, sizeof(h)); in buildMachLoader()
403 linker->addSection("FOLDEXEC", cprLoader, sizeof(h) + h.sz_cpr, 0); in buildMachLoader()
404 delete [] cprLoader; in buildMachLoader()