- 14 Jul, 2016 2 commits
-
-
Fumitoshi Ukai authored
-
Fumitoshi Ukai authored
symbolize: Calculate a module's zero VA using program headers.
-
- 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.
-
- 15 Apr, 2016 1 commit
-
-
Fumitoshi Ukai authored
Allow permission line in /proc/self/map to be "rwx", not just "r-x".
-
- 13 Apr, 2016 2 commits
-
-
Fumitoshi Ukai authored
Added support for PowerPC.
-
Fumitoshi Ukai authored
Better support and documentation for CMake projects that consume glog
-
- 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 2 commits
-
-
Fumitoshi Ukai authored
Update src/windows/glog/logging.h to ToT
-
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
-
- 08 Jan, 2016 2 commits
-
-
Sergiu Dotenco authored
-
Sergiu Dotenco 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
-
- 27 Nov, 2015 1 commit
-
-
Fumitoshi Ukai authored
Reset SIGABRT action only if FailureSignalHandler is installed.
-
- 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.
-
- 10 Nov, 2015 3 commits
-
-
Fumitoshi Ukai authored
Fix missing public include directory
-
Fumitoshi Ukai authored
Fix double-free in unit test on Windows.
-
Fumitoshi Ukai authored
Link libpthread when necessary in CMake builds
-
- 08 Sep, 2015 1 commit
-
-
Ruslan Baratov authored
Path "<prefix>/include" will not be added to the headers search of dependent targets without specifying INSTALL_INTERFACE, i.e. compilation will fail with error: "fatal error: 'glog/logging.h' file not found".
-
- 06 Sep, 2015 2 commits
-
-
Nate Rosenblum authored
-
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.
-
- 12 Aug, 2015 4 commits
-
-
Fumitoshi Ukai authored
Fixed warning caused by policy CMP0063 introduced in CMake 3.3
-
Fumitoshi Ukai authored
Allow to disable multithreading support using CMake
-
Fumitoshi Ukai authored
-
Fumitoshi Ukai authored
[#23] Add logfile_mode to control logfile permissions
-
- 11 Aug, 2015 1 commit
-
-
Sergiu Dotenco authored
-
- 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.
-
- 06 Aug, 2015 8 commits
-
-
Fumitoshi Ukai authored
Fix mocklog unused arguments
-
Fumitoshi Ukai authored
Fix redefinition of _XOPEN_SOURCE.
-
Fumitoshi Ukai authored
-
Fumitoshi Ukai authored
Don't call RAW_VLOG with locking vmodule_lock SetVLOGLevel locks vmodule_lock however RAW_VLOG at the end also implicitly locks it via InitVLOG3__. This causes deadlock/segfault. fixes #29
-
Fumitoshi Ukai authored
delete LogDestination::sinks_ at DeleteLogDestinations(). fixes #8
-
Fumitoshi Ukai authored
-
Fumitoshi Ukai authored
Add CMake support. closes #4
-
Fumitoshi Ukai authored
-
- 15 Jul, 2015 1 commit
-
-
Sergiu Dotenco authored
-