arm汇编的问题!用了 jumptable,我不懂
.text:0002D510 loc_2D510 ; CODE XREF: sub_2B940+BA8j
.text:0002D510 MOVL R0, 0x9C5A
.text:0002D518 SUB R1, R6, R0
.text:0002D51C CMP R1, #0xA6
.text:0002D520 BHI loc_2FD40
.text:0002D524 MOV R0, R1,LSL#1
.text:0002D528 ADD R0, R0, PC
.text:0002D52C LDRH R0, [R0,#4]
.text:0002D530 ADD PC, PC, R0
.text:0002D530 ; 哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪?
text:0002D534 DCW loc_2EBDC - off_2D538
.text:0002D536 DCW loc_2FD40 - off_2D538
.text:0002D538 off_2D538 DCW loc_2FD40 - off_2D538 ; DATA XREF: sub_2B940+1BF4o
.text:0002D538 ; sub_2B940+1BF6o ...
.text:0002D53A DCW loc_2FD40 - off_2D538
.text:0002D53C DCW loc_2FD40 - off_2D538
.text:0002D53E DCW loc_2FD40 - off_2D538
.text:0002D540 DCW loc_2FD40 - off_2D538
.text:0002D542 DCW loc_2FD40 - off_2D538
.text:0002D544 DCW loc_2FD40 - off_2D538
.text:0002D546 DCW loc_2FD40 - off_2D538
.text:0002D548 DCW loc_2FD40 - off_2D538
这是什么调用方式?
被调用的显示
.text:0002EC08 loc_2EC08 ; CODE XREF: sub_2B940+1BF0j
.text:0002EC08 ; DATA XREF: sub_2B940+1CAEo
.text:0002EC08 ; jumptable 0002D530 entry 93
.text:0002EC08 CMP R2, #0xD
.text:0002EC0C BEQ loc_2EF10
.text:0002EC10 CMP R2, #0x7B
.text:0002EC14 BEQ loc_2EF10
.text:0002EC18 LDR R4, =unk_46E34
.text:0002EC1C MOV R3, #0xB ; nMaxCount
.text:0002EC20 ADD R2, SP, #0x498+SystemTime ; lpString
.text:0002EC24 LDR R0, [R4] ; hDlg
.text:0002EC28 MOV R1, #0x3F4 ; nIDDlgItem
.text:0002EC2C BL GetDlgItemTextW
我哭了,jumptable跳跃表?啥玩意儿?跳跃的条件是什么?
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课