mandiant / mandiant/speakeasy

_initterm function table

Open
#107 0 comments 0 reactions 1 assignee View on GitHub

@williballenthin is already working on this.

Since Mar 9, 2026.

Dominant language
Python
Stars
2.1k
Forks
289
Avg merge
20h 1m
Merged PRs (30d)
6

Description

[`_initterm`](https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/initterm-initterm-e) walks a table of function pointers. Attempting to implement this using [`setup_callback()`](https://github.com/fireeye/speakeasy/blob/master/speakeasy/winenv/api/api.py#L372) results in the first callback returning to `_initterm`'s return address. Looking for a solution to walk the table and properly return from `_initterm`.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.