- 11 Sep, 2016 1 commit
-
-
Andy Ying authored
-
- 23 Jun, 2016 1 commit
-
-
Peter Collingbourne authored
Previously we were using a module's "start address", i.e. the address at which the module's executable region was mapped, as the zero virtual address, i.e. the address from which the DSO's virtual addresses are calculated. This works fine for DSOs created by the bfd and gold linkers, which will emit a PT_LOAD directive into the program header which loads the executable region at virtual address (p_vaddr) and file offset (p_offset) 0. However, the lld linker may place a read-only region before the executable region, meaning that both p_vaddr and p_offset for the executable region are non-zero. This means that any symbols resolved by the symbolizer are resolved to an incorrect virtual address. To correctly calculate the address corresponding to virtual address zero, we need to take into account p_vaddr and p_offset. Specifically, the calculation starts with the "base address", i.e. the start address minus the file offset. To get from the base address to virtual address zero, we first add p_offset. This gives us the mapped address of the start of the segment, or in other words the mapped address corresponding to the virtual address of the segment. (Note that this is distinct from the start address, as p_offset is not guaranteed to be page aligned.) We then subtract p_vaddr, which takes us to virtual address zero.
-
- 11 Apr, 2016 1 commit
-
-
Yaz Saito on W541 authored
least in Ubuntu14, a binary file that's writable by the process owner has permission "rwx", not "r-x".
-
- 31 Mar, 2016 1 commit
-
-
mayah authored
src/windows/glog/logging.h is not generated by the current source. Let me run src/windows/preprocess.sh and update the source.
-
- 21 Mar, 2016 1 commit
-
-
Abhishek Dasgupta authored
-
- 17 Dec, 2015 4 commits
-
-
Fumitoshi Ukai authored
only signalhandler_unittest.cc uses "using namespace gflags". others use "using namespace GFLAGS_NAMESPACE", so signalhandler_unittest.cc does the same way. fixes #62
-
Fumitoshi Ukai authored
The POSIX function fdopen is deprecated. Use the ISO C++ conformant _fdopen instead. https://msdn.microsoft.com/library/ms235351.aspx fixes #73
-
Fumitoshi Ukai authored
FAILED macro is for HRESULT, not for HANDLE. FindFirstFile returns INVALID_HANDLE_VALUE when error or not found. https://msdn.microsoft.com/library/windows/desktop/aa364418(v=vs.85).aspx fixes #79
-
Fumitoshi Ukai authored
FlushLogFilesUnsafe would be called in FailureSignalHandler, so should avoid calling new/malloc, which are not signal safe. fixes #78
-
- 26 Nov, 2015 1 commit
-
-
Yoshisato Yanagisawa authored
When I set my own signal handler to SIGABRT, it did not executed with CHECK. That is because SIGABRT handler is reset to default just before glog calls abort. Let me make it reset only if the handler is what glog installed i.e. FailureSignalHandler.
-
- 06 Sep, 2015 1 commit
-
-
Robert Hencke authored
The LOG_SYSRESULT refers to result twice. Since, in this test, result expands to FindClose(handle), the handle was being freed twice.
-
- 10 Aug, 2015 1 commit
-
-
Teddy Reed authored
-
- 08 Aug, 2015 1 commit
-
-
Sergiu Dotenco authored
This commit additionally enables threading for win32 by default.
-
- 15 Jul, 2015 9 commits
-
-
Sergiu Dotenco authored
-
Sergiu Dotenco authored
-
Sergiu Dotenco authored
-
Sergiu Dotenco authored
-
Sergiu Dotenco authored
-
Sergiu Dotenco authored
-
Sergiu Dotenco authored
-
Sergiu Dotenco authored
-
Sergiu Dotenco authored
-
- 16 Jun, 2015 2 commits
-
-
Brian Silverman authored
Under Debian Jessie, I get a warning about redefining _XOPEN_SOURCE which is easy to fix.
-
Brian Silverman authored
-
- 30 Apr, 2015 1 commit
-
-
romange authored
SetVLOGLevel locks vmodule_lock however RAW_VLOG at the end also implicitly locks it via InitVLOG3__. This causes deadlock/segfault.
-
- 10 Apr, 2015 1 commit
-
-
Fumitoshi Ukai authored
-
- 08 Apr, 2015 1 commit
-
-
Abhishek Parmar authored
Guard GOOGLE_PREDICT_TRUE|FALS with #ifndef to avoid collision with other google opensource projects like protobuf.
-
- 27 Mar, 2015 1 commit
-
-
Fumitoshi Ukai authored
fixes #8 AddLogSink memory leak
-
- 26 Mar, 2015 1 commit
-
-
Jesse Rosenstock authored
Previously, plain vector and string were used. This assumed that there were "using" directives or declarations before the macro was used. This will not always be the case.
-
- 23 Mar, 2015 1 commit
-
-
Michael Tanner authored
-
- 13 Mar, 2015 1 commit
-
-
tbennun authored
-
- 19 Aug, 2014 1 commit
-
-
- ssize_t Since Windows does not have ssize_t, we need to include BaseTsd.h and use SSIZE_t instead. - include algorithm MSVS 2013 requests developers to include algorithm when they use std::min. By yyanagisawa git-svn-id: https://google-glog.googlecode.com/svn/trunk@143 eb4d4688-79bd-11dd-afb4-1d65580434c0
-
- 05 Mar, 2014 1 commit
-
-
Similar patch was provided in https://code.google.com/p/google-glog/issues/detail?id=121 git-svn-id: https://google-glog.googlecode.com/svn/trunk@142 eb4d4688-79bd-11dd-afb4-1d65580434c0
-
- 02 Mar, 2014 1 commit
-
-
git-svn-id: https://google-glog.googlecode.com/svn/trunk@141 eb4d4688-79bd-11dd-afb4-1d65580434c0
-
- 01 Mar, 2014 1 commit
-
-
their own implementation of OpenObjectFileContainingPcAndGetStartAddress. GTTF: Make stack trace symbolization code recognize more symbols. One example is __libc_start_main (easy to check), there may be more. Include the correct elf header on OpenBSD and Android. Fix Coverity NO_EFFECT defect. Comparing unsigned greater than or equal zero is always true. git-svn-id: https://google-glog.googlecode.com/svn/trunk@140 eb4d4688-79bd-11dd-afb4-1d65580434c0
-
- 31 Oct, 2013 2 commits
-
-
For now, we do not remove the declaration of posix_strerror_r, but we might remove it in future. git-svn-id: https://google-glog.googlecode.com/svn/trunk@139 eb4d4688-79bd-11dd-afb4-1d65580434c0
-
git-svn-id: https://google-glog.googlecode.com/svn/trunk@138 eb4d4688-79bd-11dd-afb4-1d65580434c0
-
- 29 Jul, 2013 1 commit
-
-
This patch is given by Nico (thanks!) git-svn-id: https://google-glog.googlecode.com/svn/trunk@137 eb4d4688-79bd-11dd-afb4-1d65580434c0
-
- 29 May, 2013 1 commit
-
-
This patch was contributed in https://code.google.com/p/google-glog/issues/detail?id=131 by engel. Thanks! git-svn-id: https://google-glog.googlecode.com/svn/trunk@136 eb4d4688-79bd-11dd-afb4-1d65580434c0
-
- 18 Feb, 2013 1 commit
-
-
- Set -Isrc/windows for mingw - Check existence of sigaction, pread, and pwrite - Provide alternative implementation of pread and pwrite - Eliminate symlink code for OS_WINDOWS - Don't check /proc/self/fd if the OS isn't linux - Don't use MSVC specific declarations in port.h for mingw git-svn-id: https://google-glog.googlecode.com/svn/trunk@135 eb4d4688-79bd-11dd-afb4-1d65580434c0
-