Can I change argument number to macro in IDA pro Hex-rays?
fd = open("a", 513, 0644);
Like this.
fd = open("a", O_WRONLY|O_CREAT, 0644);
Is this possible?
Can I change argument number to macro in IDA pro Hex-rays?
fd = open("a", 513, 0644);
Like this.
fd = open("a", O_WRONLY|O_CREAT, 0644);
Is this possible?
O_WRONLYetc. to the bitfield type you need to delete the harebrainedO_RDONLYthing; otherwise IDA mumbles something like 'some constants hinder'. Then position the cursor on the enum name and hit Ctrl+N to bring up the "Edit enum type" dialogue and set a check mark next to "Bitfield". This is for plain IDA but things shouldn't be different with the Hex-Rays plugin loaded. – DarthGizka Feb 27 '15 at 17:56