1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

a small fix for the thumb stub

committer: ml1050 <ml1050> 1146224685 +0000
This commit is contained in:
László Molnár 2006-04-28 11:44:45 +00:00
parent 2af5bdeaab
commit 1924612479
2 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@
.text 1; .long 0, bl##t - _start; .asciz #t; .long 0; \
.text 0; .byte 0, 0, 0; bl##t: .byte 0xf8
#define DEBUG 0
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
.text
.balign 0
@ -58,7 +58,7 @@ SECT(ExeStart):
adr r3, SRC0
ldmia r3, {r5, r6, r7} @ r5=src0, r6=slen, r7=dst0, r3=addr src0
add r5, r5, r6
add r5, pc, #4096
.L01:
ldr r6, [r7]
add r7, r7, #4096

View File

@ -28,12 +28,12 @@
#define NRV_LOADER_THUMB_SIZE 1004
#define NRV_LOADER_THUMB_ADLER32 0x52485407
#define NRV_LOADER_THUMB_CRC32 0x9ee02605
#define NRV_LOADER_THUMB_ADLER32 0x937c5418
#define NRV_LOADER_THUMB_CRC32 0x0ad93fb1
unsigned char nrv_loader_thumb[1004] = {
1, 0, 81,227, 11, 0, 0, 26,255, 67, 45,233, 44, 48,143,226, /* 0x 0 */
224, 0,147,232, 6, 80,133,224, 0, 96,151,229, 1,122,135,226, /* 0x 10 */
224, 0,147,232, 1, 90,143,226, 0, 96,151,229, 1,122,135,226, /* 0x 10 */
5, 0, 87,225,251,255,255,154, 41,192,143,226, 15,224,160,225, /* 0x 20 */
28,255, 47,225,255, 67,189,232, 16,192,159,229, 28,255, 47,225, /* 0x 30 */
83, 82, 67, 48, 83, 82, 67, 76, 68, 83, 84, 48, 68, 83, 84, 76, /* 0x 40 */