sumatrapdf  3.2
About: Sumatra PDF is a free PDF, eBook (ePub, Mobi), XPS, DjVu, CHM, Comic Book (CBZ and CBR) reader for Windows. Source code.
  Fossies Dox: sumatrapdf-3.2.zip  ("unofficial" and yet experimental doxygen-generated source code documentation)  

sumatrapdf Documentation

Some Fossies usage hints in advance:

  1. To see the Doxygen generated documentation please click on one of the items in the steelblue colored "quick index" bar above or use the side panel at the left which displays a hierarchical tree-like index structure and is adjustable in width.
  2. If you want to search for something by keyword rather than browse for it you can use the client side search facility (using Javascript and DHTML) that provides live searching, i.e. the search results are presented and adapted as you type in the Search input field at the top right.
  3. Doxygen doesn't incorporate all member files but just a definable subset (basically the main project source code files that are written in a supported language). So to search and browse all member files you may visit the Fossies
  4. sumatrapdf-3.2.zip contents page and use the Fossies standard member browsing features (also with source code highlighting and additionally with optional code folding).
readme.md

SumatraPDF Reader

SumatraPDF is a multi-format (PDF, EPUB, MOBI, FB2, CHM, XPS, DjVu) reader for Windows under (A)GPLv3 license, with some code under BSD license (see AUTHORS).

More information:

To compile you need Visual Studio 2019. Free Community edition works.

I tend to update to the latest release of Visual Studio. Lately C++ evolves quickly and Visual Studio constantly adds latest capabilities. If things don't compile, first make sure you're using the latest version of Visual Studio.

Open vs2019/SumatraPDF.sln when using Visual Studio 2019

You need at least version 16.4 of Visual Studio 2019.

Notes on targets:

Asan notes

Flags: https://github.com/google/sanitizers/wiki/SanitizerCommonFlags Can be set with env variable:

  • ASAN_OPTIONS=allocator_may_return_null=1:verbosity=1:check_malloc_usable_size=false:suppressions="C:\Users\kjk\src\sumatrapdf\asan.supp"

In Visual Studio, this is in Debugging, Environment section.

Supressing issues: https://clang.llvm.org/docs/AddressSanitizer.html#issue-suppression Note: I couldn't get supressing to work.