Skip to content

restructured code#3

Open
MNS26 wants to merge 2 commits into
zhuowei:ksma-demofrom
MNS26:ksma-demo
Open

restructured code#3
MNS26 wants to merge 2 commits into
zhuowei:ksma-demofrom
MNS26:ksma-demo

Conversation

@MNS26

@MNS26 MNS26 commented Jul 26, 2025

Copy link
Copy Markdown

I've split the both cheese and kallsyms_lookup into
main.c (hold the main() call)
cheese.c (moved all cheese code here)
cheese.h (header for in main.c)
callsyms_lookup.c (still same)
callsyms_lookup.h (to be included in main.c)

also updated build.sh to include the new files

MNS26 added 2 commits July 26, 2025 16:51
`__attribute__ ((weak))` to allow overwriting of kallsyms_lookup main call
@MNS26

MNS26 commented Jul 26, 2025

Copy link
Copy Markdown
Author

now it should be fine

@MNS26 MNS26 marked this pull request as ready for review July 26, 2025 15:18
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.

1 participant