You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

1h 3m 53s logged

I just wanted to implement an interrupt handler specific to divide error, but it turned out to be way more difficult than I thought!

To continue execution after the interrupt, I have to manually increment the instruction pointer manually. But to know by which amount, I need to now the size of the whole instruction. To find it I wanted to use a library called Zydis, but I could not get it to compile, because clang generates calls to memset() and memcpy(). As I can not link with the standard library, I will have to find a solution tomorrow.

0
1

Comments 0

No comments yet. Be the first!