GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — printf · initzhu/SKRoot-linuxKernelRoot@fb1a956

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • find_kernel_func/3rdparty
    • find_xrefs.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎find_kernel_func/3rdparty/find_xrefs.h‎

Copy file name to clipboardExpand all lines: find_kernel_func/3rdparty/find_xrefs.h
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,14 @@ void find_func_haed_link(const char* image, size_t image_size,
220220
parse_code_block_with_func_haed(group_name, v_code_block, result_map);
221221
v_code_block.clear();
222222
}
223-
if ((time(NULL) - start_time) > 5) {
223+
if ((time(NULL) - start_time) > 3) {
224224
start_time = time(NULL);
225-
float progress = (float)((float)insn->address * 100 / (float)image_size);
225+
float progress = (double)((double)insn->address * 100.0f/ (double)image_size);
226226
progress = progress > 100.0f ? 100.0f : progress;
227-
printf("progress: %.2f%%\n", progress);
227+
printf("Current search location:%p, percentage progress: %.2f%%\r", insn->address, progress);
228228
}
229229
}
230+
printf("\n");
230231
cs_free(insn, 1);
231232
cs_close(&handle);
232233
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.