Skip to content

Conversation

@apple1417
Copy link
Contributor

No description provided.

When it's enabled, we generate more log messages than the standard logging queue can keep up with. If logging to console in bl2/tps it actually recurses, every log generates half a dozen more calls which it all has to log too.

Swapping to a dedicated file, and doing blocking writes helps avoid this, and also means we don't lose as much data if interrupted. Don't want to flush on every line to avoid killing performance even more.
Seems this has been broken a long time.

The ghidra script which generates the signatures decided the stack offset was a perfectly sane constant to hardcode in.
While the signature didn't match CallFunction in TPS, it did still match something, so we never got any logs about a null pointer.

This fixes missing a lot of hooks - most notably the say bypass.
ran into this a lot while debugging the say bypass not working in tps (see last commit)

since that was annoying, and we kind of want everyone to have it anyway, might as well include here
@apple1417 apple1417 merged commit 406b309 into bl-sdk:master Oct 3, 2024
2 checks passed
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