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

Incorrect detection count threads on multiCPU motherboards #428

Open
GermanAizek opened this issue Jan 19, 2024 · 2 comments
Open

Incorrect detection count threads on multiCPU motherboards #428

GermanAizek opened this issue Jan 19, 2024 · 2 comments

Comments

@GermanAizek
Copy link

@ifratric, on Windows any version, count threads is incorrectly detected. In my case, I have motherboard with two sockets 18 cores and 36 threads, he determined count threads for only one processor.

image

image

@GermanAizek
Copy link
Author

Similar issues and my PRs with C++ fixes here: git-for-windows/git#4766

@ifratric
Copy link
Collaborator

Thanks for reporting!
Looks like how we compute cpu_core_count (https://github.com/googleprojectzero/winafl/blob/master/afl-fuzz.c#L7821) would need to change. And I'm not currently sure if bind_to_free_cpu (https://github.com/googleprojectzero/winafl/blob/master/afl-fuzz.c#L475) would also need to be changed. In any case, a PR would be highly appreciated :)

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

No branches or pull requests

2 participants