Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Makefile to generate/extract symbols files at src/symbols during post-compilation (last step of project build) (only Windows) #12656

Closed
13 tasks done
Tracked by #9909
Dwordcito opened this issue Mar 9, 2022 · 0 comments · Fixed by #12905
Assignees
Labels
module/agent Issues related to the agent daemon module/building Compilation of the core product platform/windows

Comments

@Dwordcito
Copy link
Member

Dwordcito commented Mar 9, 2022

Epic
#9913

Description

This issue aims to extract the symbols (strip) once the generation of the binaries is done, this task is done as long as the variable STRIP_SYMBOLS is true, the output directory of this is wazuh/src/symbols

The default extension for symbols should be .pdb

Execute this task, based on the result of this spike: #9909 (comment)

DoD

  • Execute cv2pdb with wine as post generation task, if the tool is present.
    Binaries:
    • wazuh-agent.exe
    • wazuh-agent-eventchannel.exe
    • active_response/*.exe
    • syscollector.dll
    • sysinfo.dll
    • dbsync.dll
    • rsync.dll
    • libwazuhext.dll
    • libwazuhshared.dll
    • agent-auth.exe
    • manage_agent.exe
  • Replace the old binary (high size) with the new binary (without debug information).
@Dwordcito Dwordcito added the module/building Compilation of the core product label Mar 9, 2022
@jnasselle jnasselle added module/agent Issues related to the agent daemon platform/windows labels Mar 14, 2022
@jnasselle jnasselle self-assigned this Mar 21, 2022
@jnasselle jnasselle linked a pull request Mar 29, 2022 that will close this issue
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/agent Issues related to the agent daemon module/building Compilation of the core product platform/windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants