Git Product home page Git Product logo

lxngoddess5321 / sumatrapdf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sumatrapdfreader/sumatrapdf

0.0 0.0 0.0 228.9 MB

SumatraPDF reader

Home Page: http://www.sumatrapdfreader.org

License: GNU General Public License v3.0

Perl 0.03% C 57.84% C++ 27.20% Makefile 1.20% Objective-C 6.27% Python 1.25% Shell 1.15% CMake 0.28% Assembly 1.75% JavaScript 0.10% Lua 0.11% C# 0.12% HTML 1.25% Batchfile 0.01% M4 0.32% Roff 0.28% Go 0.40% SAS 0.01% CLIPS 0.01% Pascal 0.41%

sumatrapdf's Introduction

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 16.6 or later. Free Community edition works.

Open vs2019/SumatraPDF.sln and hit F5 to compile and run.

For best results use the latest release available as that's what I use and test with. If things don't compile, first make sure you're using the latest version of Visual Studio.

Notes on targets:

  • x32_asan target is for enabling address sanitizer, only works in 32-bit Release build and requires installing an optional "C++ AddressSanitizers" component

Asan notes

Docs:

Flags:

Can be set with env variable:

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

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

Note:

  • as of VS 16.6.2 ASAN_OPTIONS=detect_leaks=1 (i.e. memory leaks) doesn't work. Unix version relies on tcmalloc so this might never work

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

sumatrapdf's People

Contributors

kjk avatar zeniko avatar userchefo avatar bambooin avatar gunjambi avatar sambhare avatar amurzeau avatar yongjieyongjie avatar gustaphe avatar zhaohui0923 avatar ultranity avatar pcrama avatar mattiwatti avatar friedrich2 avatar pkuwxn avatar libdor avatar greasypablo avatar glachancecmaisonneuve avatar dan2468 avatar b4ufreak avatar wikiwang1991 avatar vszakats avatar totalcaesar659 avatar tamirevan avatar aveminus avatar sergeykalenyuk avatar philpax avatar mateuszzarkowski avatar kylebruene avatar greenlightning avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.