0

I'm reversing some windows drivers, and IDA never converts numbers to their corresponding major function name like IRP_MJ_CREATE = 0x00, how can i force this? is there anyway i can convert a number to major function name?

ALSO : why doesn't IDA convert it itself? for the first parameter of IoBuildSynchronousFsdRequest is always a major function number, why can't ida just name its MAJOR function name instead of giving me its number?

0

Press M with your cursor over a symbolic constant; IDA/Hex-Rays will bring up the enum chooser window. From there, type IRP_MJ_, and the chooser window should jump to the proper enumeration element.

To have Hex-Rays automatically display function arguments as symbolic constants, change the type of the argument to e.g. MACRO_IRP_MJ, or whatever the name of the enumeration is.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.