Skip to content

[CaGe] Add embedding plugin - #151

Merged
sebastiankreutzer merged 2 commits into
tudasc:develfrom
sebastiankreutzer:feat/cg_embedding
Jul 24, 2026
Merged

[CaGe] Add embedding plugin#151
sebastiankreutzer merged 2 commits into
tudasc:develfrom
sebastiankreutzer:feat/cg_embedding

Conversation

@sebastiankreutzer

@sebastiankreutzer sebastiankreutzer commented Jul 22, 2026

Copy link
Copy Markdown
Member

This patch adds basic functionality to embed the generated CaGe call graph into a dedicated metacg ELF section.
The extract_metacg script is added in utils to facilitate extracting this data.
Tests are amended to check that the embedded graph matches the one written to a normal file.

Follow-up PRs will extend this functionality to introduce new merge policies based on linkage metadata to enable correct merging of shared libraries.

@TimHeldmann TimHeldmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one nit and a question.

Thank you for this feature,

Tim

Comment thread tools/cage/src/CaGe.cpp Outdated
Comment thread utils/extract_metacg
@sebastiankreutzer
sebastiankreutzer merged commit e113b99 into tudasc:devel Jul 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants