Frame 0x31
Presenter: Dmitry Vostokov
Sponsors
Debugging.TV
• Heap Leaks: explicit and implicit
• Parameter reconstruction
• Example
Topics
© 2013 Software Diagnostics Institute
Varieties of Leaks
© 2013 Software Diagnostics Institute
• Explicit
 alloc / missing free
• Implicit
 API call / missing matching “free” call
 API call with wrong parameter
Modeling
© 2013 Software Diagnostics Institute
void bar(HWND hWnd)
{
LPCTSTR lpString = L"Hello Weird!";
int size = 0xFFFFFFF; // "uninitialized" or corrupt
HDC hDC = GetWindowDC(hWnd);
if (!TextOut(hDC, 0, 0, lpString, size))
{
ReportError(GetLastError());
}
ReleaseDC(hWnd, hDC);
}
WinDbg session…
© 2013 Software Diagnostics Institute
!Ad Hardcore Software Diagnostics Training
August 19-20, 2013 Accelerated Windows Malware Analysis
August 27, 2013 Mobile Software Diagnostics (FREE)
September 3, 2013 Psychology of Software Diagnostics (FREE)
September 6, 2013 Semiotics of Debugging (FREE)
September 13, 2013 Generative Software Narratology (FREE)
October 25-28, 2013
Accelerated Disassembly, Reconstruction and
Reversing
© 2013 Software Diagnostics Institute
Debugging.TV
Now on YouTube!
http://www.youtube.com/DebuggingTV

More Related Content

PPTX
Windows Debugging with WinDbg
PDF
Debugging TV Frame 0x1A
PDF
Debugging TV Frame 0x16
PDF
Debugging TV Frame 0x33
PDF
Debugging TV Frame 0x18
PDF
Debugging TV Frame 0x0F
PDF
Debugging TV Frame 0x34
PPTX
C++ memory leak detection
Windows Debugging with WinDbg
Debugging TV Frame 0x1A
Debugging TV Frame 0x16
Debugging TV Frame 0x33
Debugging TV Frame 0x18
Debugging TV Frame 0x0F
Debugging TV Frame 0x34
C++ memory leak detection

More from Dmitry Vostokov (20)

PDF
Accelerated Windows Debugging 3 training public slides
PDF
Accelerated .NET Memory Dump Analysis training public slides
PDF
Debugging TV Frame 0x1C
PDF
Debugging TV Frame 0x25
PDF
Debugging TV Frame 0x24
PDF
Debugging TV Frame 0x21
PDF
Debugging TV Frame 0x20
PDF
Debugging TV Frame 0x19
PDF
Debugging TV Frame 0x17
PDF
Debugging TV Frame 0x15
PDF
Debugging TV Frame 0x14
PDF
Debugging TV Frame 0x13
PDF
Debugging TV Frame 0x12
PDF
Debugging TV Frame 0x11
PDF
Debugging TV Frame 0x10
PDF
Debugging TV Frame 0x0D
PDF
Debugging TV Frame 0x0C
PDF
Debugging TV Frame 0x0B
PDF
Debugging TV Frame 0x0A
PDF
Debugging TV Frame 0x09
Accelerated Windows Debugging 3 training public slides
Accelerated .NET Memory Dump Analysis training public slides
Debugging TV Frame 0x1C
Debugging TV Frame 0x25
Debugging TV Frame 0x24
Debugging TV Frame 0x21
Debugging TV Frame 0x20
Debugging TV Frame 0x19
Debugging TV Frame 0x17
Debugging TV Frame 0x15
Debugging TV Frame 0x14
Debugging TV Frame 0x13
Debugging TV Frame 0x12
Debugging TV Frame 0x11
Debugging TV Frame 0x10
Debugging TV Frame 0x0D
Debugging TV Frame 0x0C
Debugging TV Frame 0x0B
Debugging TV Frame 0x0A
Debugging TV Frame 0x09
Ad

Recently uploaded (20)

PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PDF
MCP Security Tutorial - Beginner to Advanced
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
iTop VPN Crack Latest Version Full Key 2025
PDF
Website Design Services for Small Businesses.pdf
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
Cost to Outsource Software Development in 2025
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
Topaz Photo AI Crack New Download (Latest 2025)
PPTX
Introduction to Windows Operating System
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PDF
Time Tracking Features That Teams and Organizations Actually Need
PDF
Microsoft Office 365 Crack Download Free
PDF
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PPTX
Trending Python Topics for Data Visualization in 2025
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
Why Generative AI is the Future of Content, Code & Creativity?
MCP Security Tutorial - Beginner to Advanced
Designing Intelligence for the Shop Floor.pdf
iTop VPN Crack Latest Version Full Key 2025
Website Design Services for Small Businesses.pdf
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
Autodesk AutoCAD Crack Free Download 2025
Cost to Outsource Software Development in 2025
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Topaz Photo AI Crack New Download (Latest 2025)
Introduction to Windows Operating System
Oracle Fusion HCM Cloud Demo for Beginners
CCleaner 6.39.11548 Crack 2025 License Key
Time Tracking Features That Teams and Organizations Actually Need
Microsoft Office 365 Crack Download Free
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
How Tridens DevSecOps Ensures Compliance, Security, and Agility
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
Trending Python Topics for Data Visualization in 2025
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
Ad

Debugging TV Frame 0x31

  • 1. Frame 0x31 Presenter: Dmitry Vostokov Sponsors Debugging.TV
  • 2. • Heap Leaks: explicit and implicit • Parameter reconstruction • Example Topics © 2013 Software Diagnostics Institute
  • 3. Varieties of Leaks © 2013 Software Diagnostics Institute • Explicit  alloc / missing free • Implicit  API call / missing matching “free” call  API call with wrong parameter
  • 4. Modeling © 2013 Software Diagnostics Institute void bar(HWND hWnd) { LPCTSTR lpString = L"Hello Weird!"; int size = 0xFFFFFFF; // "uninitialized" or corrupt HDC hDC = GetWindowDC(hWnd); if (!TextOut(hDC, 0, 0, lpString, size)) { ReportError(GetLastError()); } ReleaseDC(hWnd, hDC); }
  • 5. WinDbg session… © 2013 Software Diagnostics Institute
  • 6. !Ad Hardcore Software Diagnostics Training August 19-20, 2013 Accelerated Windows Malware Analysis August 27, 2013 Mobile Software Diagnostics (FREE) September 3, 2013 Psychology of Software Diagnostics (FREE) September 6, 2013 Semiotics of Debugging (FREE) September 13, 2013 Generative Software Narratology (FREE) October 25-28, 2013 Accelerated Disassembly, Reconstruction and Reversing © 2013 Software Diagnostics Institute