Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check for rough version matching #391

Open
github-actions bot opened this issue May 6, 2024 · 0 comments
Open

check for rough version matching #391

github-actions bot opened this issue May 6, 2024 · 0 comments
Assignees
Labels
T-bug Type: bug todo

Comments

@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2024

New Codebase TODO

check for rough version matching

Location

// perform prefix check for rough version matching

    let mut compiler = Compiler::Unknown;
    let mut version = "unknown".to_string();

    // perform prefix check for rough version matching
    if bytecode.starts_with(&[0x36, 0x3d, 0x3d, 0x37, 0x3d, 0x3d, 0x3d, 0x36, 0x3d, 0x73]) ||
        bytecode.starts_with(&[0x5f, 0x5f, 0x36, 0x5f, 0x5f, 0x37])
    {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug todo
Projects
None yet
Development

No branches or pull requests

1 participant