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

Analyze Memory Leaks #1

Open
JekxDevil opened this issue Oct 19, 2023 · 0 comments
Open

Analyze Memory Leaks #1

JekxDevil opened this issue Oct 19, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@JekxDevil
Copy link
Collaborator

Analyze with valgrind to look for memory leaks in current provided project.

Other peers used callgrind and kachegrind to analyze that.

Here a snippet from MDR makefile:

profile: all
	rm -f callgrind.out.*
	valgrind --tool=callgrind ./main.o
	# graphically display the call graph
	kcachegrind callgrind.out.*

memcheck: all
	valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose ./main.o 2> memcheck.log
@JekxDevil JekxDevil added the enhancement New feature or request label Oct 19, 2023
@JekxDevil JekxDevil added this to the Competition milestone Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant