k1 611 tools/finsig_dryos.c int k1 = find_func(name); k1 612 tools/finsig_dryos.c if (k1 >= 0) k1 1403 tools/finsig_dryos.c int k1 = get_saved_sig(fw,"LogCameraEvent"); k1 1405 tools/finsig_dryos.c if (k1 >= 0) k1 1414 tools/finsig_dryos.c if (func_names[k1].val == fadr) k1 1467 tools/finsig_dryos.c int k1, fnd; k1 1479 tools/finsig_dryos.c for (k1=s+1; k1<k-1; k1++) k1 1481 tools/finsig_dryos.c if (isBL(fw,k1)) k1 1483 tools/finsig_dryos.c fadr = followBranch2(fw,idx2adr(fw,k1),0x01000001); k1 1493 tools/finsig_dryos.c for (k1=k+1; k1<e-1; k1++) k1 1495 tools/finsig_dryos.c if ((isLDR_PC(fw,k1) || isADR_PC(fw,k1)) && (idx2adr(fw,k1) == strGIF)) k1 1990 tools/finsig_dryos.c int k1 = find_Nth_inst(fw,isBL,f1,10,2); k1 1992 tools/finsig_dryos.c if ((k1 == -1) || (k2 == -1)) k1 1998 tools/finsig_dryos.c k1 = idxFollowBranch(fw,k1,0x01000001); // PutInNdFilter_low k1 1999 tools/finsig_dryos.c k2 = find_inst(fw,isBL,k1,6); k1 2203 tools/finsig_dryos.c int k1 = 0; k1 2227 tools/finsig_dryos.c k1 = 1; k1 2278 tools/finsig_dryos.c if (k && k1) k1 2280 tools/finsig_dryos.c k1 = k+1; k1 2281 tools/finsig_dryos.c while (k1>0 && k1<k+20) k1 2283 tools/finsig_dryos.c if (isLDR_PC(fw,k1)) k1 2285 tools/finsig_dryos.c uint32_t v = LDR2val(fw,k1); k1 2290 tools/finsig_dryos.c frsp_buf_at = idx2adr(fw,k1); k1 2294 tools/finsig_dryos.c k1++; k1 4435 tools/finsig_dryos.c int k1; k1 4436 tools/finsig_dryos.c for (k1=k-1; k1>k-20; k1--) k1 4438 tools/finsig_dryos.c if (isLDR_PC(fw,k1) && (LDR2val(fw,k1) == fadr)) k1 4440 tools/finsig_dryos.c bprintf("// Firmware modemap table found @%08x -> ",idx2adr(fw,k1)); k1 4441 tools/finsig_dryos.c output_modemap(fw,k1); k1 4517 tools/finsig_dryos.c int k,k1; k1 4540 tools/finsig_dryos.c for (k1 = k-1; k1 >= k-20; k1--) k1 4542 tools/finsig_dryos.c if ((fw->buf[k1] & 0x0FFF0FFF) == 0x058D0034) // STRxx Rn, [SP,#0x34] k1 4544 tools/finsig_dryos.c if ((fw->buf[k1-1] & 0x0FFF0000) == 0x03A00000) // MOVxx Rn, #YYY k1 4546 tools/finsig_dryos.c raw_width = ALUop2(fw, k1-1); k1 4547 tools/finsig_dryos.c kw = k1-1; k1 4549 tools/finsig_dryos.c else if ((fw->buf[k1-2] & 0x0FFF0000) == 0x03A00000)// MOVxx Rn, #YYY k1 4551 tools/finsig_dryos.c raw_width = ALUop2(fw, k1-2); k1 4552 tools/finsig_dryos.c kw = k1-2; k1 4554 tools/finsig_dryos.c else if (isLDR_PC_cond(fw,k1-1)) k1 4556 tools/finsig_dryos.c raw_width = LDR2val(fw,k1-1); k1 4557 tools/finsig_dryos.c kw = k1-1; k1 4559 tools/finsig_dryos.c else if (isLDR_PC_cond(fw,k1-2)) k1 4561 tools/finsig_dryos.c raw_width = LDR2val(fw,k1-2); k1 4562 tools/finsig_dryos.c kw = k1-2; k1 4567 tools/finsig_dryos.c for (k1 = k-1; k1 >= k-20; k1--) k1 4569 tools/finsig_dryos.c if ((fw->buf[k1] & 0x0FFF0FFF) == 0x058D0030) // STRxx Rn, [SP,#0x30] k1 4571 tools/finsig_dryos.c if ((fw->buf[k1-1] & 0x0FFF0000) == 0x03A00000) // MOVxx Rn, #YYY k1 4573 tools/finsig_dryos.c raw_height = ALUop2(fw, k1-1); k1 4574 tools/finsig_dryos.c kh = k1-1; k1 4576 tools/finsig_dryos.c else if ((fw->buf[k1-2] & 0x0FFF0000) == 0x03A00000)// MOVxx Rn, #YYY k1 4578 tools/finsig_dryos.c raw_height = ALUop2(fw, k1-2); k1 4579 tools/finsig_dryos.c kh = k1-2; k1 4581 tools/finsig_dryos.c else if (isLDR_PC_cond(fw,k1-1)) k1 4583 tools/finsig_dryos.c raw_height = LDR2val(fw,k1-1); k1 4584 tools/finsig_dryos.c kh = k1-1; k1 4586 tools/finsig_dryos.c else if (isLDR_PC_cond(fw,k1-2)) k1 4588 tools/finsig_dryos.c raw_height = LDR2val(fw,k1-2); k1 4589 tools/finsig_dryos.c kh = k1-2; k1 4591 tools/finsig_dryos.c if ((fw->buf[k1-1] & 0x0FFF0000) == 0x02400000) // SUBxx Rn, #YYY k1 4593 tools/finsig_dryos.c raw_height = raw_width - ALUop2(fw, k1-1); k1 4594 tools/finsig_dryos.c kh = k1-1; k1 4606 tools/finsig_dryos.c for (k1=k-1; k1>=k-5; k1--) k1 4608 tools/finsig_dryos.c if ((fw->buf[k1] & 0xFFFFF000) == 0xE3A02000) // MOV R2, #nnn k1 4610 tools/finsig_dryos.c raw_width = ALUop2(fw,k1); k1 4611 tools/finsig_dryos.c kw = k1; k1 4614 tools/finsig_dryos.c if (isLDR_PC(fw,k1) && ((fw->buf[k1]& 0x0000F000) == 0x00002000)) // LDR R2, =nnn k1 4616 tools/finsig_dryos.c raw_width = LDR2val(fw,k1); k1 4617 tools/finsig_dryos.c kw = k1; k1 4621 tools/finsig_dryos.c for (k1=k-1; k1>=k-5; k1--) k1 4623 tools/finsig_dryos.c if ((fw->buf[k1] & 0xFFFFF000) == 0xE3A03000) // MOV R3, #nnn k1 4625 tools/finsig_dryos.c raw_height = ALUop2(fw,k1); k1 4626 tools/finsig_dryos.c kh = k1; k1 4629 tools/finsig_dryos.c if (isLDR_PC(fw,k1) && ((fw->buf[k1]& 0x0000F000) == 0x00003000)) // LDR R3, =nnn k1 4631 tools/finsig_dryos.c raw_height = LDR2val(fw,k1); k1 4632 tools/finsig_dryos.c kh = k1; k1 4635 tools/finsig_dryos.c if ((fw->buf[k1] & 0xFFFFF000) == 0xE2423000) // SUB R3, R2, #nnn k1 4637 tools/finsig_dryos.c raw_height = raw_width - ALUop2(fw,k1); k1 4638 tools/finsig_dryos.c kh = k1; k1 4675 tools/finsig_dryos.c for (k1=s+1; k1<s+16; k1++) k1 4677 tools/finsig_dryos.c if (isMOV(fw,k1) && (fwRnMOV(fw,k1) == 2)) k1 4679 tools/finsig_dryos.c int r1 = fwRd(fw,k1); k1 4711 tools/finsig_dryos.c k1 = adr2idx(fw,FlashParamsTable_address); k1 4712 tools/finsig_dryos.c for (k=k1; k<k1+20; k++) k1 4725 tools/finsig_dryos.c bprintf("//#define PARAM_CAMERA_NAME %d // Found @0x%08x\n",k-k1,fadr); k1 4743 tools/finsig_dryos.c k1 = adr2idx(fw, fadr); k1 4746 tools/finsig_dryos.c if ((fwval(fw, k1+k) & 0x0fffff00) == 0x008ff100) // add[cond] pc, pc, rx, lsl#2 k1 4748 tools/finsig_dryos.c for (k++;isB(fw,k1+k) && idxFollowBranch(fw,k1+k,1) != idxFollowBranch(fw,k1+k-1,1);k++); k1 4750 tools/finsig_dryos.c for (;isB(fw,k1+k) && idxFollowBranch(fw,k1+k,1) == idxFollowBranch(fw,k1+k-1,1);k++,c++); k1 4752 tools/finsig_dryos.c bprintf("//#define MAX_CHUNKS_FOR_FWT %d // Found @0x%08x\n",c,idx2adr(fw,k+k1)); k1 4763 tools/finsig_dryos.c int k, k1; k1 4769 tools/finsig_dryos.c for (k1=k-1; k1>k-8; k1--) k1 4771 tools/finsig_dryos.c if (isLDR(fw,k1) && isLDR(fw,k1+1)) k1 4773 tools/finsig_dryos.c uint32_t v1 = LDR2val(fw,k1); k1 4774 tools/finsig_dryos.c uint32_t v2 = LDR2val(fw,k1+1); k1 4776 tools/finsig_dryos.c *kout = k1; k1 4865 tools/finsig_dryos.c int k1 = find_inst_rev(fw, isBL, k-1, 10); k1 4866 tools/finsig_dryos.c if (k1 == -1) k1 4869 tools/finsig_dryos.c int k2 = k1 - 8; k1 4870 tools/finsig_dryos.c for (k1=k1-1;k1>=k2;k1--) k1 4872 tools/finsig_dryos.c if (isLDR(fw,k1) || isADR(fw,k1)) k1 4874 tools/finsig_dryos.c if (isADR(fw,k1)) k1 4876 tools/finsig_dryos.c a = ADR2adr(fw, k1); k1 4880 tools/finsig_dryos.c a = LDR2val(fw, k1); k1 4928 tools/finsig_dryos.c int k,k1; k1 4969 tools/finsig_dryos.c for (k1=k+2; k1<k+20; k1++) k1 4971 tools/finsig_dryos.c if (isSTR(fw,k1) && ((fw->buf[k1] & 0x000F0000) == reg)) k1 4973 tools/finsig_dryos.c uint32_t ofst = fw->buf[k1] & 0x00000FFF; k1 4974 tools/finsig_dryos.c bprintf("DEF(%-40s,0x%08x) // Found 0x%04x (@0x%08x) + 0x%02x (@0x%08x)\n","viewport_fb_d",adr+ofst,adr,idx2adr(fw,ka),ofst,idx2adr(fw,k1)); k1 4975 tools/finsig_dryos.c bprintf("//void *vid_get_viewport_fb_d() { return (void*)(*(int*)(0x%04x+0x%02x)); } // Found @0x%08x & 0x%08x\n",adr,ofst,idx2adr(fw,ka),idx2adr(fw,k1)); k1 5339 tools/finsig_dryos.c int k1 = search_fw(fw, find_B, fadr, 0, 1); k1 5340 tools/finsig_dryos.c if ((k1 > 0) && isLDR_PC(fw,k1-2) && isLDR(fw,k1-1) && (LDR2val(fw,k1-2) == palette_control)) k1 5342 tools/finsig_dryos.c int active_offset = fwOp2(fw,k1-1); k1 5343 tools/finsig_dryos.c print_stubs_min(fw,"active_palette_buffer",palette_control+active_offset,idx2adr(fw,k1-1)); k1 5369 tools/finsig_dryos.c int k1; k1 5370 tools/finsig_dryos.c for (k1=k+1; k1<k+20; k1++) k1 5372 tools/finsig_dryos.c if (isBL(fw,k1) && isLDMFD(fw,k1+2)) k1 5374 tools/finsig_dryos.c uint32_t fadr = followBranch(fw, idx2adr(fw,k1), 0x01000001); k1 5405 tools/finsig_dryos.c else if (isLDR_cond(fw,k1) && isLDMFD(fw,k1+2) && isBL(fw,k1-2)) k1 5407 tools/finsig_dryos.c int ptr_offset = fwval(fw,k1) & 0xFFF; k1 5408 tools/finsig_dryos.c print_stubs_min(fw,"palette_buffer_ptr",v2+ptr_offset,idx2adr(fw,k1)); k1 5409 tools/finsig_dryos.c match_palette_buffer_offset(fw, k1-2); k1 5490 tools/finsig_dryos.c int k1 = find_inst_rev(fw, isSTMFD_LR, k-1, 1000); k1 5491 tools/finsig_dryos.c if (k1 > 0) k1 5494 tools/finsig_dryos.c if (isLDR_PC(fw,k1+1) && isLDR_PC(fw,k1+2) && isLDR(fw,k1+3) && k1 5495 tools/finsig_dryos.c (fwRd(fw,k1+1) == fwRn(fw,k1+3))) k1 5497 tools/finsig_dryos.c uint32_t a = LDR2val(fw,k1+1); k1 5499 tools/finsig_dryos.c print_stubs_min(fw,"active_viewport_buffer",a,idx2adr(fw,k1+1)); k1 5503 tools/finsig_dryos.c if (isLDR_PC(fw,k1+1) && isLDR_PC(fw,k1+3) && isLDR(fw,k1+4) && k1 5504 tools/finsig_dryos.c (fwRd(fw,k1+1) == fwRn(fw,k1+4))) k1 5506 tools/finsig_dryos.c uint32_t a = LDR2val(fw,k1+1); k1 5508 tools/finsig_dryos.c print_stubs_min(fw,"active_viewport_buffer",a,idx2adr(fw,k1+1)); k1 5512 tools/finsig_dryos.c if (isLDR_PC(fw,k1+1) && isLDR_PC(fw,k1+4) && isLDR(fw,k1+5) && k1 5513 tools/finsig_dryos.c (fwRd(fw,k1+1) == fwRn(fw,k1+5))) k1 5515 tools/finsig_dryos.c uint32_t a = LDR2val(fw,k1+1); k1 5517 tools/finsig_dryos.c print_stubs_min(fw,"active_viewport_buffer",a,idx2adr(fw,k1+1)); k1 5577 tools/finsig_dryos.c int k1; k1 5578 tools/finsig_dryos.c for (k1=k+1; k1<k+5; k1++) k1 5580 tools/finsig_dryos.c if (isLDR(fw,k1)) k1 5582 tools/finsig_dryos.c uint32_t ofst = fw->buf[k1] & 0x00000FFF; k1 5596 tools/finsig_dryos.c int k1; k1 5597 tools/finsig_dryos.c for (k1=idx1; k1<idx1+50; k1++) k1 5599 tools/finsig_dryos.c if ((fw->buf[k1] & 0xFFFF0000) == 0xE8BD0000) // LDMFD k1 5602 tools/finsig_dryos.c if (isADR_PC(fw,k1+1)) k1 5604 tools/finsig_dryos.c fadr = ADR2adr(fw,k1+1); k1 5606 tools/finsig_dryos.c else if (isADR_PC(fw,k1+2)) k1 5608 tools/finsig_dryos.c fadr = ADR2adr(fw,k1+2); k1 5610 tools/finsig_dryos.c else if (isADR_PC(fw,k1-3)) k1 5612 tools/finsig_dryos.c fadr = ADR2adr(fw,k1-3); k1 5614 tools/finsig_dryos.c else if (isLDR_PC(fw,k1+1)) k1 5616 tools/finsig_dryos.c fadr = LDR2val(fw,k1+1); k1 5618 tools/finsig_dryos.c else if (isLDR_PC(fw,k1+2)) k1 5620 tools/finsig_dryos.c fadr = LDR2val(fw,k1+2); k1 5644 tools/finsig_dryos.c int k1 = 0; k1 5647 tools/finsig_dryos.c k1 = idxFollowBranch(fw,k-2,0x01000001); k1 5651 tools/finsig_dryos.c k1 = idxFollowBranch(fw,k-1,0x01000001); k1 5653 tools/finsig_dryos.c if (k1 != 0) k1 5655 tools/finsig_dryos.c if (isLDR_PC(fw,k1+1) && isLDR(fw,k1+3)) k1 5657 tools/finsig_dryos.c int base = LDR2val(fw,k1+1); k1 5658 tools/finsig_dryos.c int ofst = fw->buf[k1+3] & 0xFFF; k1 5659 tools/finsig_dryos.c print_stubs_min(fw,"focus_busy",base+ofst-4,idx2adr(fw,k1)); k1 5674 tools/finsig_dryos.c int k1 = adr2idx(fw,fadr); k1 5675 tools/finsig_dryos.c if (isLDR_PC(fw,k1+1)) k1 5677 tools/finsig_dryos.c uint32_t reg = (fwval(fw,k1+1) & 0x0000F000) >> 12; k1 5678 tools/finsig_dryos.c uint32_t adr = LDR2val(fw,k1+1); k1 5680 tools/finsig_dryos.c for (k2=k1; k2<k1+32; k2++) k1 5769 tools/finsig_dryos.c int k1; k1 5770 tools/finsig_dryos.c for (k1=k+1; k1<k+4; k1++) k1 5772 tools/finsig_dryos.c if (isSTR(fw,k1)) k1 5774 tools/finsig_dryos.c uint32_t ofst = fw->buf[k1] & 0x00000FFF; k1 5789 tools/finsig_dryos.c int k,k1; k1 5828 tools/finsig_dryos.c for (k1 = f-1; (k1 > f-10) && !found; k1--) k1 5830 tools/finsig_dryos.c if (isLDR_PC(fw,k1) && (fwRd(fw,k1) == src)) k1 5832 tools/finsig_dryos.c uint32_t v = LDR2val(fw,k1) - ALUop2(fw,f); k1 5833 tools/finsig_dryos.c print_stubs_min(fw,"video_compression_rate",v,idx2adr(fw,k1)); k1 5882 tools/finsig_dryos.c for (k1=k-2; k1>k-20; k1--) k1 5884 tools/finsig_dryos.c if ((fw->buf[k1] & 0xFF1FF000) == ldr_inst) k1 5886 tools/finsig_dryos.c uint32_t base = LDR2val(fw,k1); k1 5918 tools/finsig_dryos.c for (k1=0; k1<5; k1++) k1 5920 tools/finsig_dryos.c if (isLDR_PC(fw,k+k1)) k1 5922 tools/finsig_dryos.c uint32_t base = LDR2val(fw,k+k1); k1 5923 tools/finsig_dryos.c print_stubs_min(fw,"zoom_status",base+0x20,idx2adr(fw,k+k1)); k1 5946 tools/finsig_dryos.c for (k1 = k + mul; (k1 < fw->size) && (fw->buf[k1] > fw->buf[k1-mul]) && (fw->buf[k1] > fw->sv->min_focus_len) && (fw->buf[k1] < fw->sv->max_focus_len); k1 += mul) ; k1 5947 tools/finsig_dryos.c if (fw->buf[k1] == fw->sv->max_focus_len) k1 5949 tools/finsig_dryos.c int nlen = ((k1 - k) / mul) + 1; k1 5984 tools/finsig_dryos.c for (k1=k; k1<k+20; k1++) k1 5986 tools/finsig_dryos.c if (isLDR_PC(fw,k1) && ((fw->buf[k1+1] & 0xFFFF0FFF) == 0xE3A00001) && isSTR(fw,k1+2) && k1 5987 tools/finsig_dryos.c ((fw->buf[k1+1] & 0x0000F000) == (fw->buf[k1+2] & 0x0000F000)) && k1 5988 tools/finsig_dryos.c ((fw->buf[k1] & 0x0000F000) == ((fw->buf[k1+2] & 0x000F0000) >> 4))) k1 5990 tools/finsig_dryos.c uint32_t base = LDR2val(fw,k1); k1 5991 tools/finsig_dryos.c int ofst = fw->buf[k1+2] & 0x00000FFF; k1 5992 tools/finsig_dryos.c print_stubs_min(fw,"recreview_hold",base+ofst,idx2adr(fw,k1)); k1 6040 tools/finsig_dryos.c for (k1=k-2; k1>k-50; k1--) k1 6042 tools/finsig_dryos.c if (isLDR(fw,k1) && (fwRd(fw,k1) == reg)) k1 6044 tools/finsig_dryos.c rb1 = LDR2val(fw,k1); k1 6045 tools/finsig_dryos.c rb1_idx = k1; k1 6065 tools/finsig_dryos.c for (k1 = f+1; k1 < e; k1++) k1 6069 tools/finsig_dryos.c ((fwval(fw,k1) & 0xFFF00FFF) == 0xE2400001) && // SUB Rx, Rn, #1 k1 6070 tools/finsig_dryos.c isLDR(fw,k1+1) && // LDR Ry, [Rz, k1 6071 tools/finsig_dryos.c ((fwval(fw,k1+2) & 0xFFF00000) == 0xE1500000) && // CMP Rx, Ry k1 6072 tools/finsig_dryos.c (((fwRd(fw,k1) == fwRd(fw,k1+2)) && (fwRd(fw,k1+1) == fwRn(fw,k1+2))) || k1 6073 tools/finsig_dryos.c ((fwRd(fw,k1) == fwRn(fw,k1+2)) && (fwRd(fw,k1+1) == fwRd(fw,k1+2)))) && k1 6074 tools/finsig_dryos.c ((fwval(fw,k1+3) & 0xFFF00FFF) == 0x12800001) && // ADDNE Ry, Ry, #1 k1 6075 tools/finsig_dryos.c ((fwRd(fw,k1+3) == fwRn(fw,k1+3)) && (fwRd(fw,k1+3) == fwRd(fw,k1+1))) && k1 6076 tools/finsig_dryos.c ((fwval(fw,k1+4) & 0xFFF00FFF) == 0x03A00000) && // MOVEQ Ry, #0 k1 6077 tools/finsig_dryos.c (fwRd(fw,k1+4) == fwRd(fw,k1+1)) && k1 6078 tools/finsig_dryos.c isSTR(fw,k1+5) && // STR Ry, [Rz, k1 6079 tools/finsig_dryos.c ((fwRd(fw,k1+5) == fwRd(fw,k1+1)) && (fwRn(fw,k1+5) == fwRn(fw,k1+1)) && (fwOp2(fw,k1+5) == fwOp2(fw,k1+1))) k1 6082 tools/finsig_dryos.c ((fwval(fw,k1) & 0xFFF00FFF) == 0xE2400001) && // SUB Rx, Rn, #1 k1 6083 tools/finsig_dryos.c isLDR(fw,k1+1) && // LDR Ry, [Rz, k1 6084 tools/finsig_dryos.c ((fwval(fw,k1+3) & 0xFFF00000) == 0xE1500000) && // CMP Rx, Ry k1 6085 tools/finsig_dryos.c (((fwRd(fw,k1) == fwRd(fw,k1+3)) && (fwRd(fw,k1+1) == fwRn(fw,k1+3))) || k1 6086 tools/finsig_dryos.c ((fwRd(fw,k1) == fwRn(fw,k1+3)) && (fwRd(fw,k1+1) == fwRd(fw,k1+3)))) && k1 6087 tools/finsig_dryos.c ((fwval(fw,k1+4) & 0xFFF00FFF) == 0x12800001) && // ADDNE Ry, Ry, #1 k1 6088 tools/finsig_dryos.c ((fwRd(fw,k1+4) == fwRn(fw,k1+4)) && (fwRd(fw,k1+4) == fwRd(fw,k1+1))) && k1 6089 tools/finsig_dryos.c ((fwval(fw,k1+5) & 0xFFF00FFF) == 0x03A00000) && // MOVEQ Ry, #0 k1 6090 tools/finsig_dryos.c (fwRd(fw,k1+5) == fwRd(fw,k1+1)) && k1 6091 tools/finsig_dryos.c isSTR(fw,k1+7) && // STR Ry, [Rz, k1 6092 tools/finsig_dryos.c ((fwRd(fw,k1+7) == fwRd(fw,k1+1)) && (fwRn(fw,k1+7) == fwRn(fw,k1+1)) && (fwOp2(fw,k1+7) == fwOp2(fw,k1+1))) k1 6096 tools/finsig_dryos.c int ofst = fwOp2(fw,k1+1); k1 6097 tools/finsig_dryos.c int reg = fwRn(fw,k1+1); k1 6104 tools/finsig_dryos.c print_stubs_min(fw,"active_raw_buffer",base+ofst,idx2adr(fw,k1)); k1 6228 tools/finsig_dryos.c int k1, k2, k3; k1 6236 tools/finsig_dryos.c for (k1=k3+1; k1<k3+8; k1++) k1 6238 tools/finsig_dryos.c if (isB(fw, k1)) k1 6240 tools/finsig_dryos.c k2 = idxFollowBranch(fw,k1,0x01000001); k1 6318 tools/finsig_dryos.c int k1 = find_inst_rev(fw,isSTMFD_LR,k0,110); k1 6319 tools/finsig_dryos.c if (k1<0) k1 6321 tools/finsig_dryos.c j1 = find_inst(fw,isBL,k1,80); k1 6322 tools/finsig_dryos.c j2 = find_Nth_inst(fw,isBL,k1,80,3); k1 6333 tools/finsig_dryos.c k1 = find_Nth_inst(fw,isBL,k1,80,2); k1 6335 tools/finsig_dryos.c k1 = idxFollowBranch(fw,k1,0x01000001); k1 6336 tools/finsig_dryos.c if (k1<0) k1 6338 tools/finsig_dryos.c bprintf("\n// LED table init @ 0x%x\n",idx2adr(fw,k1)); k1 6347 tools/finsig_dryos.c if (isLDR_PC(fw,k1+j2)) k1 6349 tools/finsig_dryos.c uint32_t l1 = LDR2val(fw,k1+j2); k1 6353 tools/finsig_dryos.c leds[j3].reg = fwRd(fw,k1+j2); k1 6357 tools/finsig_dryos.c else if (isBX_LR(fw,k1+j2) || isB(fw,k1+j2)) k1 6392 tools/finsig_dryos.c if (isLDR_PC(fw,k1+j2)) k1 6396 tools/finsig_dryos.c uint32_t l1 = LDR2val(fw,k1+j2); k1 6399 tools/finsig_dryos.c if ((leds[j3].reg == fwRd(fw,k1+j2)) && (leds[j3].addr == LDR2val(fw,k1+j2))) k1 6408 tools/finsig_dryos.c if (leds[j3].reg == fwRd(fw,k1+j2)) k1 6414 tools/finsig_dryos.c else if (isBX_LR(fw,k1+j2) || isB(fw,k1+j2)) k1 6424 tools/finsig_dryos.c if (isADD(fw,k1+j2)) k1 6426 tools/finsig_dryos.c if (leds[j3].reg == fwRd(fw,k1+j2)) k1 6428 tools/finsig_dryos.c leds[j3].addr += ALUop2a(fw,k1+j2); k1 6431 tools/finsig_dryos.c else if (leds[j3].reg == fwRn(fw,k1+j2)) k1 6436 tools/finsig_dryos.c repeataddr = leds[j3].addr + ALUop2a(fw,k1+j2); k1 6437 tools/finsig_dryos.c repeatreg = fwRd(fw,k1+j2); k1 6442 tools/finsig_dryos.c else if (isSUB(fw,k1+j2)) k1 6444 tools/finsig_dryos.c if (leds[j3].reg == fwRd(fw,k1+j2)) k1 6446 tools/finsig_dryos.c leds[j3].addr -= ALUop2a(fw,k1+j2); k1 6449 tools/finsig_dryos.c else if (leds[j3].reg == fwRn(fw,k1+j2)) k1 6454 tools/finsig_dryos.c repeataddr = leds[j3].addr - ALUop2a(fw,k1+j2); k1 6455 tools/finsig_dryos.c repeatreg = fwRd(fw,k1+j2); k1 6460 tools/finsig_dryos.c else if (isSTR(fw,k1+j2)) k1 6464 tools/finsig_dryos.c if (leds[j3].reg == fwRd(fw,k1+j2)) k1 6466 tools/finsig_dryos.c leds[j3].offs = fwval(fw,k1+j2) & 0xfff; k1 6470 tools/finsig_dryos.c else if (isMOV_immed(fw,k1+j2) && (leds[j3].reg == fwRd(fw,k1+j2))) k1 6545 tools/finsig_dryos.c if (isSTRw(fw,k1+j2)) k1 6547 tools/finsig_dryos.c uint32_t o1 = fwval(fw,k1+j2)&0xfff; // may not be the correct way of determining the offset k1 6553 tools/finsig_dryos.c if (isSTRB(fw,k1+n)) k1 6555 tools/finsig_dryos.c o2 = fwval(fw,k1+n)&0xfff; k1 6558 tools/finsig_dryos.c r1 = fwRd(fw,k1+j2); // dest. register k1 6561 tools/finsig_dryos.c else if (isBX_LR(fw,k1+n) || isB(fw,k1+n)) k1 6570 tools/finsig_dryos.c n = k1+j2-1; k1 6571 tools/finsig_dryos.c while (n >= k1) k1 6584 tools/finsig_dryos.c else if (isBX_LR(fw,k1+j2) || isB(fw,k1+j2)) k1 6629 tools/finsig_dryos.c k1 = k0; // ref. to "LEDCon" k1 6632 tools/finsig_dryos.c k1 = find_inst_rev(fw,isBL,k1-1,80); k1 6633 tools/finsig_dryos.c if (k1 > 0) k1 6635 tools/finsig_dryos.c if (idx2adr(fw,idxFollowBranch(fw,k1,0x01000001)) == idx2adr(fw,f1)) // BL CreateMessageQueueStrictly k1 6645 tools/finsig_dryos.c k1 = find_inst_rev(fw,isBL,k1-1,80); k1 6646 tools/finsig_dryos.c if (k1<0) k1 6648 tools/finsig_dryos.c k1 = idxFollowBranch(fw,k1,0x01000001); k1 6649 tools/finsig_dryos.c if (k1<0) k1 6651 tools/finsig_dryos.c bprintf("\n// LED table init @ 0x%x\n",idx2adr(fw,k1)); k1 6702 tools/finsig_dryos.c if (isSTRw(fw,k1+j2)) k1 6704 tools/finsig_dryos.c uint32_t o1 = fwval(fw,k1+j2)&0xfff; // may not be the correct way of determining the offset k1 6710 tools/finsig_dryos.c if (isSTRB(fw,k1+n)) k1 6712 tools/finsig_dryos.c o2 = fwval(fw,k1+n)&0xfff; k1 6715 tools/finsig_dryos.c r1 = fwRd(fw,k1+j2); // dest. register k1 6718 tools/finsig_dryos.c else if (isBX_LR(fw,k1+n) || isB(fw,k1+n)) k1 6727 tools/finsig_dryos.c n = k1+j2-1; k1 6728 tools/finsig_dryos.c while (n >= k1) k1 6741 tools/finsig_dryos.c else if (isBX_LR(fw,k1+j2) || isB(fw,k1+j2)) k1 7420 tools/finsig_dryos.c int k,k1; k1 7432 tools/finsig_dryos.c for (k1=k-1; k1>k-5; k1--) k1 7434 tools/finsig_dryos.c if (isBL(fw,k1)) // BL k1 7436 tools/finsig_dryos.c uint32_t fadr = followBranch(fw,idx2adr(fw,k1),0x01000001); k1 7466 tools/finsig_dryos.c k1 = adr2idx(fw,tadr); k1 7469 tools/finsig_dryos.c if ((fw->buf[k1+k+1] == 0xFFFFFFFF) && (fw->buf[k1+k+4] == 0xFFFFFFFF)) k1 7677 tools/finsig_dryos.c int k1 = find_inst_rev(fw, isB, k, 500); k1 7678 tools/finsig_dryos.c if (k1 >= 0) k1 7680 tools/finsig_dryos.c k = k1 - 1; k1 7687 tools/finsig_dryos.c int k1 = find_inst_rev(fw, isB, k, 500); k1 7688 tools/finsig_dryos.c if (k1 >= 0) k1 7690 tools/finsig_dryos.c k = k1 - 1; k1 7716 tools/finsig_dryos.c int k1 = find_inst_rev(fw, isB, k, 500); k1 7717 tools/finsig_dryos.c if (k1 >= 0) k1 7719 tools/finsig_dryos.c k = k1 - 1; k1 7726 tools/finsig_dryos.c int k1 = find_inst_rev(fw, isB, k, 500); k1 7727 tools/finsig_dryos.c if (k1 >= 0) k1 7729 tools/finsig_dryos.c k = k1 - 1; k1 7741 tools/finsig_dryos.c int k1 = find_inst_rev(fw, isLDR_PC, k, 8); k1 7742 tools/finsig_dryos.c if (k1 > 0) k1 7744 tools/finsig_dryos.c uint32_t k2 = LDR2val(fw,k1); k1 7751 tools/finsig_dryos.c ((fwval(fw,k3) & 0x000f0000)>>16) == (unsigned)(fwRd(fw,k1)) ) // check register match k1 7754 tools/finsig_dryos.c k1 = adr2idx(fw,k2); k1 7755 tools/finsig_dryos.c while (fwval(fw,k1) != 0) k1 7757 tools/finsig_dryos.c add_func_name2(fw, fwval(fw,k1), fwval(fw,k1+1), "_FW"); k1 7758 tools/finsig_dryos.c k1 += 2; k1 7884 tools/finsig_dryos.c int k1 = adr2idx(fw,followBranch(fw,idx2adr(fw,k),0x01000001)); k1 7886 tools/finsig_dryos.c for (k2=k1; k2<k1+20; k2++) k1 7133 tools/finsig_thumb2.c int k,k1; k1 7149 tools/finsig_thumb2.c for (k1 = k + mul; (k1 < fw->size32) && (fw->buf32[k1] > fw->buf32[k1-mul]) && (fw->buf32[k1] > fw->sv->min_focus_len) && (fw->buf32[k1] < fw->sv->max_focus_len); k1 += mul) ; k1 7150 tools/finsig_thumb2.c if (fw->buf32[k1] == fw->sv->max_focus_len) k1 7152 tools/finsig_thumb2.c if ((found == 0) || ((size < mul) && (len < ((k1 - k) / mul) + 1))) k1 7156 tools/finsig_thumb2.c len = ((k1 - k) / mul) + 1; k1 573 tools/finsig_vxworks.c int k1 = find_func(name); k1 574 tools/finsig_vxworks.c if (k1 >= 0) k1 883 tools/finsig_vxworks.c int k1 = get_saved_sig(fw,"LogCameraEvent"); k1 885 tools/finsig_vxworks.c if (k1 >= 0) k1 894 tools/finsig_vxworks.c if (func_names[k1].val == fadr) k1 952 tools/finsig_vxworks.c int k1 = get_saved_sig(fw,"IsControlEventActive"); k1 955 tools/finsig_vxworks.c if ((k1 >= 0) && (k2 >= 0)) k1 957 tools/finsig_vxworks.c j1 = adr2idx(fw, func_names[k1].val); k1 1064 tools/finsig_vxworks.c int k1 = find_Nth_inst(fw,isBL,f1,10,2); k1 1066 tools/finsig_vxworks.c if ((k1 == -1) || (k2 == -1)) k1 1072 tools/finsig_vxworks.c k1 = idxFollowBranch(fw,k1,0x01000001); // PutInNdFilter_low veneer k1 1073 tools/finsig_vxworks.c k1 = find_inst(fw,isB,k1,3); // veneer k1 1074 tools/finsig_vxworks.c if (k1 == -1) { k1 1077 tools/finsig_vxworks.c k1 = idxFollowBranch(fw,k1,0x00000001); // PutInNdFilter_low k1 1078 tools/finsig_vxworks.c if (k1 == -1) { k1 1081 tools/finsig_vxworks.c k1 = find_inst(fw,isBL,k1,4); // get_nd_value wrapper k1 1082 tools/finsig_vxworks.c if (k1 == -1) { k1 1085 tools/finsig_vxworks.c k1 = idxFollowBranch(fw,k1,0x01000001); // k1 1086 tools/finsig_vxworks.c k1 = find_inst(fw,isBL,k1,2); // get_nd_value k1 1087 tools/finsig_vxworks.c if (k1 == -1) { k1 1090 tools/finsig_vxworks.c k1 = idxFollowBranch(fw,k1,0x01000001); k1 1091 tools/finsig_vxworks.c fwAddMatch(fw,idx2adr(fw,k1),32,0,122); k1 3457 tools/finsig_vxworks.c int k1, k2; k1 3460 tools/finsig_vxworks.c k1 = adr2idx(fw,j1); k1 3461 tools/finsig_vxworks.c if (k1<0) k1 3463 tools/finsig_vxworks.c k2 = find_inst_rev(fw,isLDMFD_PC,k1-1,50); k1 3467 tools/finsig_vxworks.c k2 = find_Nth_inst_rev(fw,isMOV,k1-1,16,2); k1 3471 tools/finsig_vxworks.c k1 = find_inst_rev(fw,isLDR,k2,5); k1 3472 tools/finsig_vxworks.c if (k1<0) k1 3474 tools/finsig_vxworks.c j1 = LDR2val(fw,k1); k1 3475 tools/finsig_vxworks.c k1 = adr2idx(fw,j1); k1 3476 tools/finsig_vxworks.c if (k1<0) k1 3478 tools/finsig_vxworks.c j1 = fwval(fw,k1); k1 3479 tools/finsig_vxworks.c k1 = adr2idx(fw,j1); k1 3480 tools/finsig_vxworks.c if (k1<0) k1 3482 tools/finsig_vxworks.c k1 = find_inst_rev(fw,isMOV,k1-1,120); k1 3483 tools/finsig_vxworks.c if (k1<0) k1 3485 tools/finsig_vxworks.c if (fwval(fw,k1) != 0xe1a0f00e) // mov pc, lr k1 3487 tools/finsig_vxworks.c k1--; k1 3488 tools/finsig_vxworks.c if (!(isLDR(fw,k1) && (fwRd(fw,k1)==0))) // ldr r0, k1 3490 tools/finsig_vxworks.c k2 = k1; k1 3491 tools/finsig_vxworks.c j1 = LDR2val(fw,k1); k1 3492 tools/finsig_vxworks.c k1 = adr2idx(fw,j1); k1 3493 tools/finsig_vxworks.c if (k1<0) k1 3496 tools/finsig_vxworks.c bprintf("// Firmware modemap table found @%08x -> ",idx2adr(fw,k1)); k1 3497 tools/finsig_vxworks.c output_modemap(fw,k1,k2-k1); k1 3602 tools/finsig_vxworks.c int k,k1; k1 3753 tools/finsig_vxworks.c k1 = adr2idx(fw,FlashParamsTable_address); k1 3754 tools/finsig_vxworks.c for (k=k1; k<k1+20; k++) k1 3767 tools/finsig_vxworks.c bprintf("//#define PARAM_CAMERA_NAME %d // Found @0x%08x\n",k-k1,fadr); k1 3782 tools/finsig_vxworks.c int k, k1; k1 3788 tools/finsig_vxworks.c for (k1=k-1; k1>k-8; k1--) k1 3790 tools/finsig_vxworks.c if (isLDR(fw,k1) && isLDR(fw,k1+1)) k1 3792 tools/finsig_vxworks.c uint32_t v1 = LDR2val(fw,k1); k1 3793 tools/finsig_vxworks.c uint32_t v2 = LDR2val(fw,k1+1); k1 3795 tools/finsig_vxworks.c *kout = k1; k1 3911 tools/finsig_vxworks.c int k1 = find_inst_rev(fw, isBL, k-1, 10); k1 3912 tools/finsig_vxworks.c if (k1 == -1) k1 3915 tools/finsig_vxworks.c int k2 = k1 - 8; k1 3916 tools/finsig_vxworks.c for (k1=k1-1;k1>=k2;k1--) k1 3918 tools/finsig_vxworks.c if (isLDR(fw,k1) || isADR(fw,k1)) k1 3920 tools/finsig_vxworks.c if (isADR(fw,k1)) k1 3922 tools/finsig_vxworks.c a = ADR2adr(fw, k1); k1 3926 tools/finsig_vxworks.c a = LDR2val(fw, k1); k1 4368 tools/finsig_vxworks.c int k1 = search_fw(fw, find_B, fadr, 0, 1); k1 4369 tools/finsig_vxworks.c if ((k1 > 0) && isLDR_PC(fw,k1-2) && isLDR(fw,k1-1) && (LDR2val(fw,k1-2) == palette_control)) k1 4371 tools/finsig_vxworks.c int active_offset = fwOp2(fw,k1-1); k1 4372 tools/finsig_vxworks.c print_stubs_min(fw,"active_palette_buffer",palette_control+active_offset,idx2adr(fw,k1-1)); k1 4398 tools/finsig_vxworks.c int k1; k1 4399 tools/finsig_vxworks.c for (k1=k+1; k1<k+20; k1++) k1 4401 tools/finsig_vxworks.c if (isBL(fw,k1) && isLDMFD(fw,k1+2)) k1 4403 tools/finsig_vxworks.c uint32_t fadr = followBranch(fw, idx2adr(fw,k1), 0x01000001); k1 4434 tools/finsig_vxworks.c else if (isLDR_cond(fw,k1) && isLDMFD(fw,k1+2) && isBL(fw,k1-2)) k1 4436 tools/finsig_vxworks.c int ptr_offset = fwval(fw,k1) & 0xFFF; k1 4437 tools/finsig_vxworks.c print_stubs_min(fw,"palette_buffer_ptr",v2+ptr_offset,idx2adr(fw,k1)); k1 4438 tools/finsig_vxworks.c match_palette_buffer_offset(fw, k1-2); k1 4519 tools/finsig_vxworks.c int k1 = find_inst_rev(fw, isSTMFD_LR, k-1, 1000); k1 4520 tools/finsig_vxworks.c if (k1 > 0) k1 4523 tools/finsig_vxworks.c if (isLDR_PC(fw,k1+1) && isLDR_PC(fw,k1+2) && isLDR(fw,k1+3) && k1 4524 tools/finsig_vxworks.c (fwRd(fw,k1+1) == fwRn(fw,k1+3))) k1 4526 tools/finsig_vxworks.c uint32_t a = LDR2val(fw,k1+1); k1 4528 tools/finsig_vxworks.c print_stubs_min(fw,"active_viewport_buffer",a,idx2adr(fw,k1+1)); k1 4532 tools/finsig_vxworks.c if (isLDR_PC(fw,k1+1) && isLDR_PC(fw,k1+3) && isLDR(fw,k1+4) && k1 4533 tools/finsig_vxworks.c (fwRd(fw,k1+1) == fwRn(fw,k1+4))) k1 4535 tools/finsig_vxworks.c uint32_t a = LDR2val(fw,k1+1); k1 4537 tools/finsig_vxworks.c print_stubs_min(fw,"active_viewport_buffer",a,idx2adr(fw,k1+1)); k1 4541 tools/finsig_vxworks.c if (isLDR_PC(fw,k1+1) && isLDR_PC(fw,k1+4) && isLDR(fw,k1+5) && k1 4542 tools/finsig_vxworks.c (fwRd(fw,k1+1) == fwRn(fw,k1+5))) k1 4544 tools/finsig_vxworks.c uint32_t a = LDR2val(fw,k1+1); k1 4546 tools/finsig_vxworks.c print_stubs_min(fw,"active_viewport_buffer",a,idx2adr(fw,k1+1)); k1 4606 tools/finsig_vxworks.c int k1; k1 4607 tools/finsig_vxworks.c for (k1=k+1; k1<k+5; k1++) k1 4609 tools/finsig_vxworks.c if (isLDR(fw,k1)) k1 4611 tools/finsig_vxworks.c uint32_t ofst = fw->buf[k1] & 0x00000FFF; k1 4625 tools/finsig_vxworks.c int k1; k1 4626 tools/finsig_vxworks.c for (k1=idx1; k1<idx1+50; k1++) k1 4628 tools/finsig_vxworks.c if ((fw->buf[k1] & 0xFFFF0000) == 0xE8BD0000) // LDMFD k1 4631 tools/finsig_vxworks.c if (isADR_PC(fw,k1+1)) k1 4633 tools/finsig_vxworks.c fadr = ADR2adr(fw,k1+1); k1 4635 tools/finsig_vxworks.c else if (isADR_PC(fw,k1+2)) k1 4637 tools/finsig_vxworks.c fadr = ADR2adr(fw,k1+2); k1 4639 tools/finsig_vxworks.c else if (isADR_PC(fw,k1-3)) k1 4641 tools/finsig_vxworks.c fadr = ADR2adr(fw,k1-3); k1 4643 tools/finsig_vxworks.c else if (isLDR_PC(fw,k1+1)) k1 4645 tools/finsig_vxworks.c fadr = LDR2val(fw,k1+1); k1 4647 tools/finsig_vxworks.c else if (isLDR_PC(fw,k1+2)) k1 4649 tools/finsig_vxworks.c fadr = LDR2val(fw,k1+2); k1 4673 tools/finsig_vxworks.c int k1 = 0; k1 4676 tools/finsig_vxworks.c k1 = idxFollowBranch(fw,k-2,0x01000001); k1 4680 tools/finsig_vxworks.c k1 = idxFollowBranch(fw,k-1,0x01000001); k1 4682 tools/finsig_vxworks.c if (k1 != 0) k1 4684 tools/finsig_vxworks.c if (isLDR_PC(fw,k1+1) && isLDR(fw,k1+3)) k1 4686 tools/finsig_vxworks.c int base = LDR2val(fw,k1+1); k1 4687 tools/finsig_vxworks.c int ofst = fw->buf[k1+3] & 0xFFF; k1 4688 tools/finsig_vxworks.c print_stubs_min(fw,"focus_busy",base+ofst-4,idx2adr(fw,k1)); k1 4703 tools/finsig_vxworks.c int k1 = adr2idx(fw,fadr); k1 4704 tools/finsig_vxworks.c if (isLDR_PC(fw,k1+1)) k1 4706 tools/finsig_vxworks.c uint32_t reg = (fwval(fw,k1+1) & 0x0000F000) >> 12; k1 4707 tools/finsig_vxworks.c uint32_t adr = LDR2val(fw,k1+1); k1 4709 tools/finsig_vxworks.c for (k2=k1; k2<k1+32; k2++) k1 4813 tools/finsig_vxworks.c int k1 = k; k1 4815 tools/finsig_vxworks.c while (k1<k2) k1 4817 tools/finsig_vxworks.c k1++; k1 4818 tools/finsig_vxworks.c if (reg < 0 && isLDR_PC(fw,k1)) k1 4820 tools/finsig_vxworks.c uint32_t v = LDR2val(fw,k1); k1 4824 tools/finsig_vxworks.c frsp_buf_at = idx2adr(fw,k1); k1 4828 tools/finsig_vxworks.c if (isMOV_immed(fw,k1) && ALUop2a(fw,k1)>uncached_adr) k1 4830 tools/finsig_vxworks.c reg = fwRd(fw,k1); k1 4831 tools/finsig_vxworks.c frsp_buf = ALUop2a(fw,k1); k1 4832 tools/finsig_vxworks.c frsp_buf_at = idx2adr(fw, k1); k1 4836 tools/finsig_vxworks.c if ((fwval(fw,k1)&0xfffff000) == (0xe2800000+(reg<<12)+(reg<<16))) // ADD Rx, Rx, #imm k1 4838 tools/finsig_vxworks.c frsp_buf += ALUop2a(fw,k1); k1 4839 tools/finsig_vxworks.c frsp_buf_at = idx2adr(fw, k1); k1 5293 tools/finsig_vxworks.c int k1, k2, k3; k1 5301 tools/finsig_vxworks.c for (k1=k3+1; k1<k3+8; k1++) k1 5303 tools/finsig_vxworks.c if (isB(fw, k1)) k1 5305 tools/finsig_vxworks.c k2 = idxFollowBranch(fw,k1,0x01000001); k1 5363 tools/finsig_vxworks.c int k1 = find_str_ref(fw,"LEDCon"); k1 5364 tools/finsig_vxworks.c if (k1<0) k1 5366 tools/finsig_vxworks.c k1 = find_inst_rev(fw,isSTMFD_LR,k1,96); k1 5367 tools/finsig_vxworks.c if (k1<0) k1 5369 tools/finsig_vxworks.c j1 = find_inst(fw,isBL,k1,80); k1 5370 tools/finsig_vxworks.c j2 = find_Nth_inst(fw,isBL,k1,80,3); k1 5376 tools/finsig_vxworks.c k1 = find_Nth_inst(fw,isBL,k1,80,2); k1 5378 tools/finsig_vxworks.c k1 = idxFollowBranch(fw,k1,0x01000001); k1 5379 tools/finsig_vxworks.c if (k1<0) k1 5381 tools/finsig_vxworks.c bprintf("// LED table init @ 0x%x\n",idx2adr(fw,k1)); k1 5385 tools/finsig_vxworks.c j1 = find_Nth_inst(fw,isADD_0x220000,k1,40,j2); k1 5620 tools/finsig_vxworks.c int k,k1; k1 5632 tools/finsig_vxworks.c for (k1=k-1; k1>k-5; k1--) k1 5634 tools/finsig_vxworks.c if (isBL(fw,k1)) // BL k1 5636 tools/finsig_vxworks.c uint32_t fadr = followBranch(fw,idx2adr(fw,k1),0x01000001); k1 5666 tools/finsig_vxworks.c k1 = adr2idx(fw,tadr); k1 5669 tools/finsig_vxworks.c if ((fw->buf[k1+k+1] == 0xFFFFFFFF) && (fw->buf[k1+k+4] == 0xFFFFFFFF)) k1 5831 tools/finsig_vxworks.c int k1 = find_Nth_inst_rev(fw, isLDR_PC, k, 15, c); k1 5832 tools/finsig_vxworks.c if (k1 > 0) k1 5834 tools/finsig_vxworks.c uint32_t k2 = LDR2val(fw,k1); k1 5858 tools/finsig_vxworks.c k1 = adr2idx(fw,k2); k1 5860 tools/finsig_vxworks.c while (fwval(fw,k1) != 0) k1 5863 tools/finsig_vxworks.c if (!idx_valid(fw,adr2idx(fw,fwval(fw,k1)))) break; k1 5864 tools/finsig_vxworks.c if (!idx_valid(fw,adr2idx(fw,fwval(fw,k1+1)))) break; k1 5865 tools/finsig_vxworks.c add_func_name2(fw, fwval(fw,k1), fwval(fw,k1+1), "_FW"); k1 5866 tools/finsig_vxworks.c k1 += 2; k1 5896 tools/finsig_vxworks.c int k1; k1 5897 tools/finsig_vxworks.c for (k1=k-1; k1>k-6; k1--) k1 5899 tools/finsig_vxworks.c if (isLDR_PC(fw,k1) && (fwRd(fw,k1) == 0)) k1 5901 tools/finsig_vxworks.c int j = adr2idx(fw,LDR2val(fw,k1)); k1 5904 tools/finsig_vxworks.c j = adr2idx(fw,LDR2val(fw,k1) - fw->data_start + fw->data_init_start); k1 6089 tools/finsig_vxworks.c int k1; k1 6091 tools/finsig_vxworks.c for (k1=k+o-1; k1>=k+o-50; k1--) k1 6093 tools/finsig_vxworks.c if (isMOV_immed(fw,k1) && (fwRd(fw,k1) == reg)) k1 6095 tools/finsig_vxworks.c u1 = ALUop2a(fw,k1); k1 6112 tools/finsig_vxworks.c int k1; k1 6114 tools/finsig_vxworks.c for (k1=k+o-1; k1>=k+o-7; k1--) k1 6116 tools/finsig_vxworks.c if (isMOV_immed(fw,k1) && (fwRd(fw,k1) == reg)) k1 6118 tools/finsig_vxworks.c u1 = ALUop2a(fw,k1);