Skip to content

[DYNAREC] Always initialize jump table for DynaRec build#3990

Merged
ptitSeb merged 1 commit into
ptitSeb:mainfrom
ksco:jmptbl
Jun 25, 2026
Merged

[DYNAREC] Always initialize jump table for DynaRec build#3990
ptitSeb merged 1 commit into
ptitSeb:mainfrom
ksco:jmptbl

Conversation

@ksco

@ksco ksco commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

If DynaRec is disabled by env var but enabled in rcfile, the initialize process will be:

LoadEnvVariables()
NewBox64Context() -> dynarec=0, jump table not initialize
ApplyEnvFileEntry()
AllocLoadElfMemory() -> crash

I guess it's okay to always initilize the table.

If DynaRec is disabled by env var but enabled in rcfile, the initialize process will be:
```
LoadEnvVariables()
NewBox64Context() -> dynarec=0, jump table not initialize
ApplyEnvFileEntry()
AllocLoadElfMemory() -> crash
```

I guess it's okay to always initilize the table.
@ptitSeb ptitSeb merged commit 8e661d2 into ptitSeb:main Jun 25, 2026
28 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.

2 participants