Skip to content

C entrypoint fixes#2421

Open
zachcmadsen wants to merge 2 commits into
microsoft:mainfrom
zachcmadsen:c-entrypoint-fixes
Open

C entrypoint fixes#2421
zachcmadsen wants to merge 2 commits into
microsoft:mainfrom
zachcmadsen:c-entrypoint-fixes

Conversation

@zachcmadsen
Copy link
Copy Markdown
Contributor

A couple fixes related to microsoft/one-collect#268:

  • Recognize <module>!_start as a valid top frame
  • Bump symbol length by one for dynamic symbols to catch addresses on the symbol end boundary. _start seems to be a pathological case

With the one-collect change and these fixes we get a complete stack:

+ Process32 workload (140228) Args: workload
 + Thread (140228) CPU=19984ms
  + workload!_start
  |+ libc.so.6!__libc_start_main
  | + libc.so.6!__libc_start_call_main
  |  + workload!main
  |   + workload!run_workload
  |    + workload!hot_loop
  |    + workload!warm_loop
  |    + workload!cold_loop

@zachcmadsen zachcmadsen requested a review from a team as a code owner May 15, 2026 14:23
@zachcmadsen
Copy link
Copy Markdown
Contributor Author

Cc @brianrob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant