Arcane
August 8th, 2008, 02:22
hi guys im currently trying to make a little macro to at compiletime Select some random bytes for creating some assembly opfuscation but im having some troubles doing it :P cant seem to find good resource on goolgle for what i need todo ..now let me explain i have
#define OpfuscationTable { 0xa1 };
#define OpfuTest(x) __asm { __emit x[0] }
so in my head now ..i should be able todo like this
OpfuTest(OpfuscationTable) but it then complains i have an illegal number of oprands , so then i figured id try to access the defined table straight away like this
#define OpfuscationTable { 0xa1 };
#define OpfuTest() __asm { __emit OpfuscationTable[0] }
but ..that dident really work either hehe so i figured id post here hope a helping soul will help me out , in continuating work on it..so might get it to work but general suggestion on opfuscation and macro's are more then welcome
#define OpfuscationTable { 0xa1 };
#define OpfuTest(x) __asm { __emit x[0] }
so in my head now ..i should be able todo like this
OpfuTest(OpfuscationTable) but it then complains i have an illegal number of oprands , so then i figured id try to access the defined table straight away like this
#define OpfuscationTable { 0xa1 };
#define OpfuTest() __asm { __emit OpfuscationTable[0] }
but ..that dident really work either hehe so i figured id post here hope a helping soul will help me out , in continuating work on it..so might get it to work but general suggestion on opfuscation and macro's are more then welcome
