references:
在go服务中,每一个进来的请求都由自己的goroutine来负责处理,请求处理器经常启动额外的goroutine来访问后端服务,比如服务器或者RPC服务
一般情况下 …
more ...参考链接:
本文所有压缩包的密码都是1,使用VS2017进行编译
使用reactos的rpcrt4.dll作为运行时来调试rpc的内部实现原理
下图中的 …
more ...reference:
在阅读upx源码的时候发现默认不支持开启了cfg的pe文件,比如尝试给notepad.exe加壳就会出现报错

看一下cfg是如何实现的
cfg可以在vs的编译选项中开启

这里有一个使用了间接调用的示例代码
开启cfg

关 …
more ...references:
在代码中我们可以看到他是这样获取ioctl的起始和终止范围的:
beginIoctl = (DWORD)parseHex(singleIoctl) & 0xffffc000;
endIoctl = ((DWORD)parseHex(singleIoctl) & 0xffffc000) | 0x00003fff;
那他为什么这样写呢,这就和ioctl的编码方式有关了
| Bits | Field | Meaning … |
|---|
this structure is used for optimization, when fixed-size allocations are needed
we all know that allocate and free memory is expensive, so for this kind of fixed-size allocation, we just don't really free the memory we allocated, we just mark it as available
so when the next time …
more ...references:
前面讲到的windows文件系统过滤驱动代码比较多,而且容易出错,所以微软推出了minifilter框架,来让开发者更专注于业务逻辑,一些重复性的繁杂的代 …
more ...references:
https://learn.microsoft.com/EN-US/windows-hardware/drivers/devtest/event-tracing-for-windows--etw
https://github.com/microsoft/Windows-driver-samples/tree/main/general/tracing/evntdrv
https://learn.microsoft.com/en-us/windows/win32/wes/writing-an-instrumentation-manifest
约定:
ETW全称为Event Tracing for Windows
ETW中有三个重要的概念:
| Term | Description |
|---|---|
| Providers | Applications or components … |