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

BcRelease is empty #5

Open
zwclose opened this issue Jun 19, 2023 · 5 comments
Open

BcRelease is empty #5

zwclose opened this issue Jun 19, 2023 · 5 comments
Labels
question Further information is requested

Comments

@zwclose
Copy link

zwclose commented Jun 19, 2023

Hey,

The output directory is empty, no executables there. Did you plan publish them?

Also, I have a question related to floating point operations in QuickJS. Floating point operations require some special handling in kernel mode and I didn't find anything like that in the project. Did I miss something or you just don't trigger FP code paths?

Thanks!

@zwclose
Copy link
Author

zwclose commented Jun 19, 2023

Ah, "Before calling QuickJS, BugChecker saves the FPU state (on x86) and switches to an expanded stack of 128KB." -- this solves the mystery of FPU. Yet it would be nice to have drivers compiled :)

@vitoplantamura
Copy link
Owner

hi,

if you are interested in how BugChecker handles the FPU state in kernel mode, search for the "SaveFPUState" class in the project.

The pre-built binaries of BC are available here: https://github.com/vitoplantamura/BugChecker/releases

If you want to compile the driver yourself, please follow the instructions in the "Build Instructions" section of the main README.md file.

--Vito

@vitoplantamura vitoplantamura added the question Further information is requested label Jun 20, 2023
@zwclose
Copy link
Author

zwclose commented Jun 21, 2023

Hi,

Thanks for the answers. I have a one more question if you don't mind.

How did you link a few CRT functions like floor, ceil and those that use FILE operations to BugChecker.sys? I edit the project to make it compilable from Visual Studio to get rid of old DDK requirement and it seems to be the last obstacle that I have. By the way, I can PR it once make sure it works.

@vitoplantamura
Copy link
Owner

vitoplantamura commented Jun 21, 2023 via email

@zwclose
Copy link
Author

zwclose commented Jun 22, 2023

Cool, got it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants