This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inline void InitializeListHead(LIST_ENTRY* list_head) | |
{ | |
list_head->Flink = list_head; | |
list_head->Blink = list_head; | |
} | |
inline int IsListEmpty(LIST_ENTRY* list_head) | |
{ | |
return list_head->Flink == list_head; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* NOTE: This is an autogenerated file; please do not edit. */ | |
CustomIDAMemo | |
{ | |
qproperty-line-fg-default: white; | |
qproperty-line-fg-regular-comment: #0E8F1D; | |
qproperty-line-fg-insn: #B6B6B6; | |
qproperty-line-fg-dummy-data-name: #CA0003; | |
qproperty-line-fg-regular-data-name: #C50003; | |
qproperty-line-fg-demangled-name: #0DA9FF; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_arg_1(call_address): | |
""" Returns the arg 1 initialization address given a call to a function """ | |
addr = call_address | |
while GetOpnd(addr, 0) != "rcx": | |
addr = PrevHead(addr) | |
return addr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void InitializeConsole(bool alwaysCreateNewConsole = true) | |
{ | |
bool consoleAttached = true; | |
if (alwaysCreateNewConsole || (Main.AttachConsole(4294967295u) == 0u && (long)Marshal.GetLastWin32Error() != 5L)) | |
{ | |
consoleAttached = (Main.AllocConsole() != 0); | |
} | |
if (consoleAttached) | |
{ | |
Main.InitializeOutStream(); |
NewerOlder