新增PE库的基础设施包括: - 创建README.md文档,说明代码参考rust cargo的object库实现 - 配置cbuild.toml包依赖,添加scc_utils依赖项 - 定义scc_pe_builder.h头文件,包含PE构建器的数据结构和API函数 - 实现PE文件的段管理、头信息处理和文件写入功能
11 lines
124 B
C
11 lines
124 B
C
#include <stdio.h>
|
|
|
|
void test_example() {
|
|
printf("Test passed!\n");
|
|
}
|
|
|
|
int main() {
|
|
test_example();
|
|
return 0;
|
|
}
|