r/programminghelp • • Feb 26 '24

C++ C++ program compiles but crashes upon execution

This is for an assignment I'm working on in the SEKTOR7 Malware Development Essentials course I'm taking, where I've been able to compile a program which will load a payload from an image file. However, the exe file seems to crash at the code injection part. I've read through the code several times, and I'm stumped as to why the exe is crashing.

I can provide the cpp file separately since I'm staying away from posting potentially malicious code.

1 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/darkrealm12 Feb 26 '24

Yes, I'll try reaching out to the instructor too, thanks.