search
注册
登录
计算机天才
collection
实用代码库
30 文章
计算机天才
·
2023年02月11日 03:50
std::list迭代器不支持随机访问,但是...
int main() { list<int> lst{1, 2, 3, 4}; auto it1 = lst.begin(); // it1 = it1 + 2; ...
C++
favorite
0
comment
0
计算机天才
·
2023年02月08日 08:53
python提取System32路径下的文件的文件描述
import os import filetype import pefile import pprint def is_pe_file(filename): if os.path.i...
favorite
0
comment
0
计算机天才
·
2023年01月31日 06:03
Windows ExCreateCallback多驱动间通信
//sender #include <ntifs.h> #define CALLBACKNAME L"\\Callback\\driverStart" VOID Un...
favorite
0
comment
0
计算机天才
·
2023年01月31日 06:41
std::for_each代替std::find
这代码是当初写的错误代码 留下来只是记录for_each的用法 std::for_each(kExcludeDir.begin(), kExcludeDir.end(), ...
favorite
0
comment
0
计算机天才
·
2023年01月31日 06:44
C++ 读取文件到vector<u8>
inline bool open_binary_file(const std::string& file, std::vector<uint8_t>&...
favorite
0
comment
0
计算机天才
·
2023年01月31日 06:53
minifilter InstanceSetup函数测试
#include"minifilter.h" namespace minifilter { // minifilter加载的时候会给每个卷都挂载上 NTSTATUS Instance...
favorite
0
comment
0
计算机天才
·
2023年01月31日 06:57
Zydis反汇编引擎v4版本测试代码
这版本直接以.h .c文件提供,可以直接加入工程,方便了不少 ZydisDisassembledInstruction insn; ZydisDisassembleIntel(ZYDIS...
favorite
0
comment
0
计算机天才
·
2023年01月31日 07:00
python unicorn引擎模拟执行部分代码
import unicorn import pefile import capstone # 要分析的样本路径 sample_file_path = 'C:\\Users\\asdf\\Des...
favorite
0
comment
0
计算机天才
·
2023年01月31日 07:47
Rust 函数模板使用例子
最基本的模板语法 fn template_fn<F>(mut num: F) -> F{ num } fn main() { println!("{}",t...
favorite
0
comment
0
计算机天才
·
2023年01月31日 08:32
C++类内重载operator<<
#include <iostream> using namespace std; class A { public: int a; friend ostream& ...
favorite
0
comment
0
查看更多
社区准则
博客
联系
社区
状态
主题
设备主题(默认)
浅色主题
深色主题
完成