Skip to content

Releases: luskyle/antelope

v1.4

Choose a tag to compare

@github-actions github-actions released this 09 Oct 09:04

Full Changelog: v1.3...v1.4

v1.3

Choose a tag to compare

@github-actions github-actions released this 08 Oct 08:08

Full Changelog: v1.2...v1.3

v1.2

Choose a tag to compare

@github-actions github-actions released this 17 Sep 08:39

Antelope v1.2

v1.1 → v1.2 是一次能力大幅扩充:M2 里程碑全部三批功能落地(诊断聚合、消毒器/覆盖率、版本化动态库),并将 antel analyze 从文本输出重构为可视化分析报告。测试 41 → 46 条,CI 三版本(3.9 / 3.11 / 3.13)全绿。

新增能力

可视化分析报告(analyze)

antel analyze 生成自包含的单文件 HTML(report.html,内联 CSS、无外部依赖),浏览器直接打开,10 个分析维度:

  • 产物:目标路径、大小、文件类型(file 探测)
  • 增量状态:hash 基线、本次变化文件、待重编清单
  • 编译参数统计:-O/-std/-D/-W/-f 词频
  • 资源情况:data_files 展开到文件级、gresource 引用清单与生成物、embed 符号(配置了资源才出现)
  • 目标符号表:逐源文件符号分类(函数/数据/BSS/未定义),独立 chip 显示
  • 头文件依赖:从 .d 反推
  • 目标文件大小分布:条形图,带单位
  • 动态依赖:NEEDED 与 ldd
  • 编译命令:compile_commands.json 原样
  • 日志产物:文件与大小清单

analyze_files 字段废弃(报告自动覆盖全部源文件),替换为 report: true——构建成功后自动生成,且不影响编译(产物字节与关闭时完全一致)。

M2 / P2-1 诊断聚合

并行编译输出按单元捕获:成功只汇总警告数、失败按文件分组整块回放并计数,不再被并发刷屏淹没。

M2 / P2-3 消毒器与覆盖率

  • sanitize: ["address", "undefined", ...]:编译与链接注入 -fsanitize=
  • coverage: true:编译 -fprofile-arcs -ftest-coverage、链接 --coverage,运行后 gcov 出报告,clean 回收产物

M2 / P2-4 版本化动态库

  • version / soname / rpath:产出 libX.so.<版本> + 两级软链,-Wl,-soname 正确落盘
  • 消费端按 SONAME 链接、$ORIGIN rpath 加载(拷走目录树也能跑)

修复

  • static 目标链接回归:ar 分支缺失 output 变量导致 UnboundLocalError(P2-4 重构引入),已修复并加回归测试
  • 报告大小列统一带单位(B/KB/MB):条形图、资源表、日志清单

示例

  • test/antelstats:版本化共享库 + 消费者(按 SONAME 链接、rpath 加载,analyze 出报告)
  • test/helloworld 独立成目录,含 exe 与 static 双配置
  • test/gtkcalc / test/resdemo:GUI 与资源打包示例保留

文档

README、站点(index / quick-start / configuration / commands / examples / compilers / development)全面更新,覆盖新字段、报告维度与发版说明;Zensical 站点已发布。

Full Changelog: v1.1...v1.2

v1.1

Choose a tag to compare

@github-actions github-actions released this 17 Sep 05:38

v1.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 07:55