You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef __OPAQUE_BRANCHING_H
|
|
|
|
#define __OPAQUE_BRANCHING_H
|
|
|
|
|
|
|
|
#include "Windas.h"
|
|
|
|
#include "XedWrap.h"
|
|
|
|
#include "NativeCode.h"
|
|
|
|
|
|
|
|
XED_ICLASS_ENUM ObfGetRandomJccClass();
|
|
|
|
|
|
|
|
PNATIVE_CODE_LINK ObfGenRandomJcc(ULONG LabelId, ULONG DisplacementSize = 4);
|
|
|
|
|
|
|
|
PNATIVE_CODE_LINK ObfGenJmpForOpaqueBranch(ULONG LabelId, ULONG DisplacementSize = 4);
|
|
|
|
|
|
|
|
PNATIVE_CODE_BLOCK ObfGenerateOpaqueBranch(PNATIVE_CODE_LINK Start, PNATIVE_CODE_LINK End);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|