Memory Validator, how to filter the display by folder name
Автор: softwareverify
Загружено: 2026-01-19
Просмотров: 0
Описание:
0:00 Hello, I'm going to show you how to use filters on the memory tab of C memory validator.
0:06 We're going to use filters to remove data using the folder name the files are in.
0:11 So first of all, we need to launch the example application.
0:14 So I'm going to click on the relaunch icon.
0:18 Pretty soon the example application is launched.
0:22 This example application leaks a lot of memory on startup.
0:25 So I'm just going to close it and we'll work with the leaked data.
0:32 Now we're going to filter data based on whether it's in the main program directory or not.
0:37 So select an item, right click, local, custom filter,
0:43 click match using directory and choose the directory name.
0:48 So in this case it's the program files software verification, memory validator, MVexample directory and click OK
0:57 Everything that's in the MVexample directory is now filtered out of the display so we don't see them.
1:02 What we can now see is a few allocations that have occurred in MFC source files.
1:09 We've got WinFrame, AFX critical section, Windows Core, strcore, that's the CString class.
1:16 If we expand this you can actually see this.
1:18 It's called from InitInstance and there we've got some strings created and then if I expand this we've got the source code for MFC.
1:30 If I now want to just see only the allocations that happened in the main source directory and ignore the MFC ones, that's pretty easy to do.
1:40 We can just flip the filter.
1:41 We can make it inverted.
1:42 So I click the filter button to display the filter manager, double click to display the filter, and invert the filter, click OK, and click OK on the filter manager to manage the go away.
1:54 And now we only see the data that's been allocated in the main source directory So they have it that's quick and easy, simple filtering using directory name.
#memoryvalidator #filter #directory
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: