akallabeth
92d3e3c64a
[winpr] use WINPR_ prefix for conditional includes
2023-01-10 17:38:00 +01:00
akallabeth
6613155275
[winpr,utils] pretty print stacktrace
...
do not add an additional newline in the messages.
2022-12-09 10:28:40 +01:00
Martin Fleisz
b93f742896
winpr: Add missing include for windows build
2022-07-21 15:59:43 +02:00
Armin Novak
03ed367fb9
Fixed broken USE_UNWIND check
2022-05-05 13:05:33 +02:00
akallabeth
a62fe8a3e9
Enable unwind.h and dladdr as default backtrace implementation
...
* config option USE_UNWIND to enable/disable
2022-04-29 15:15:53 +02:00
akallabeth
9330559d24
Defined and use _write
2022-04-29 14:27:44 +02:00
akallabeth
00b00ea521
Added unwind.h support
2022-04-29 14:27:44 +02:00
akallabeth
f146709eec
Moved corkscrew backtrace to own file
2022-04-29 14:27:44 +02:00
akallabeth
3e62a05134
Moved windows backtrace to own file
2022-04-29 14:27:44 +02:00
akallabeth
0491f91327
Moved execinfo backtrace to own file
2022-04-29 14:27:44 +02:00
Armin Novak
6ed50b4b1d
Refactored WinPR includes
2022-03-03 11:26:48 +01:00
akallabeth
a3af2c0bdc
Fix duplicate MIN macro definition
2021-11-25 12:25:18 +01:00
akallabeth
b69156d79c
Eliminated spammy log messages from backtrace functions
2021-09-20 10:59:59 +02:00
Armin Novak
1af7ef2f1b
Fixed compilation warnings and typos
2021-06-16 15:21:56 +02:00
Armin Novak
7365330275
Fixed memory leak in backtrace function
2021-02-25 14:17:24 +01:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Peter Åstrand (astrand)
30cd1ba1ab
Use lowercase for includes and libs
...
Makes build possible on case sensitive systems such as MinGW on Linux.
2019-01-09 09:36:28 +01:00
Armin Novak
5dea64a468
Added backtrace function working on allocated logger.
2018-12-17 09:24:57 +01:00
Martin Fleisz
900aa94796
debug: Fix broken format specifiers
2018-03-06 16:32:36 +01:00
Armin Novak
0490aeb018
Fixed clang malloc integer overflow warnings.
2017-07-20 09:29:48 +02:00
Norbert Federa
f71b6b46e8
fix string format specifiers
...
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
2016-12-16 13:48:43 +01:00
Norbert Federa
c6e6b44143
countless WLog/printf format specifier fixes
2016-11-25 17:06:25 +01:00
Norbert Federa
e8c4910e2e
fix segfaults casused by size_t format specifier
...
win32/msvc cc does not recognize the %z format specifier which caused
invalid references and segfaults on win32.
Until FreeRDP gets format specifier macros we'll cast size_t to
unsigned long and use the %lu specifier.
Also simplified winpr_backtrace_symbols() a little bit and fixed it
to allocate the correct amount of bytes for the return buffer.
2016-05-27 15:55:28 +02:00
Marc-André Moreau
d0f413db12
winpr: initial port to Universal Windows Platform (UWP)
2016-02-05 16:28:45 -05:00
Marc-André Moreau
bfca674f2d
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2016-02-05 11:39:45 -05:00
Armin Novak
03a1ff814d
Fixed unused warnings.
2015-12-16 15:15:46 +01:00
Armin Novak
d0e3528c8e
Added winpr_strerror function.
2015-12-09 18:27:37 +01:00
Marc-André Moreau
2f5d159448
winpr: fix WinXP backwards compatibility
2015-11-25 13:46:10 -05:00
Armin Novak
cf9f975341
Replaced snprintf with sprintf_s
2015-07-03 13:26:15 +02:00
Armin Novak
7dc96c412f
Added convenience function winpr_log_backtrace.
2015-07-03 09:22:02 +02:00
Marc-André Moreau
c64be497b8
libwinpr-utils: update backtrace utils
2015-05-21 13:25:35 -04:00
Norbert Federa
1eff1a345e
free can handle NULL perfectly fine
2015-05-11 09:07:39 +02:00
Marc-André Moreau
bcf3a551c4
libwinpr-utils: fix Win32 undefined function write error
2015-01-22 16:06:18 -05:00
Martin Fleisz
441632310a
Merge pull request #2110 from akallabeth/winpr_backtrace_windows
...
Winpr backtrace windows
2014-12-04 15:03:37 +01:00
Armin Novak
eafc49b154
Using fixed size debug string buffers now.
2014-12-04 14:54:08 +01:00
Armin Novak
9ab5f4c222
Fixed memory leak.
2014-11-16 15:44:02 +01:00
Armin Novak
041c26eff6
Fixed mixed variable declaration.
2014-11-12 09:16:55 +01:00
Armin Novak
16f9f34b52
Removed assert, breaking build on visual studio.
2014-11-12 09:16:55 +01:00
Armin Novak
c39fbcfacb
Fixed scope of variable declarations, MSVC does not like mixed variable declaration.
2014-11-12 09:16:55 +01:00
Armin Novak
6c4f013bd9
Enhanced debug output, fixed missing includes.
2014-11-12 09:16:55 +01:00
Armin Novak
3830a9f580
Added windows implementation of backtrace.
2014-11-12 09:16:54 +01:00
Armin Novak
fd2c1a7508
Fixed license header, added correct copyright.
2014-08-14 10:42:10 +02:00
Armin Novak
494ca1f1a3
Added winpr functions to generate a stacktrace.
...
Added libcorkscrew headers for stacktrace on android.
Added execinfo.h detection for stacktrace on linux.
2014-08-14 10:36:50 +02:00