History log of /dalvik/libdex/SysUtil.cpp
Revision Date Author Comments
9b7b2c6fc27530083c93f3a3557470b1b317f759 27-Oct-2017 Orion Hodson <oth@google.com> Dalvik: remove compiler warning suppressions

Addresses warnings for converting-null, unused variables and unused
functions.

Bug: 681225973
Test: m -j32
Change-Id: I208aee0f2290db3980932d74f854ea8816d0ba91
a6b2b42d91c32e9b567dff369a8f98ad73fa7f48 19-Jul-2017 Steven Moreland <smoreland@google.com> dalvik: use proper nativehelper headers

libnativeheader exports headers under nativeheader. These were
available before incorrectly as global headers in order to give
access to jni.h.

Test: modules using dalvik find headers
Bug: 63762847
Change-Id: Idda455b6606f6a5ab0cd68de90c525c83bf74c61
f23d879792185fa22eee6f0814b2c0e347bae10d 25-May-2016 Aart Bik <ajcbik@google.com> Fix resource leaks.

This addresses the following cppcheck reports:
[dalvik/libdex/SysUtil.cpp:129]: (error) Memory leak: memPtr
[dalvik/libdex/sha1.cpp:391]: (error) Resource leak: checkfile

(note this is an impure cherry pick from Adam Buchbinder's change)

Change-Id: I475cfadac884c810dd597fbcd3f154cf9fc626fe
eaaefdab6abdcce921a4e93b259253fe78af1ea6 23-May-2016 Adam Buchbinder <abuchbinder@google.com> Fix resource leaks.

This addresses the following cppcheck reports:
[dalvik/libdex/SysUtil.cpp:129]: (error) Memory leak: memPtr
[dalvik/libdex/sha1.cpp:391]: (error) Resource leak: checkfile

Change-Id: Ia130109ccb5b496954aa1f6b4f719b3ca50d559e
1a65052468068a4e9a859d185860510aa1d8cfd4 08-Jul-2015 Aart Bik <ajcbik@google.com> Revert "Remove libdex (including dexdump/list)."

This reverts commit 48a66c5d261c333fc3d672e910b26cd6b1a05083.


REASON:
win_sdk is not happy with my migration :-(

Change-Id: Ib5d25b65ffef8bebc42fc586d2c65add04aa2b54
48a66c5d261c333fc3d672e910b26cd6b1a05083 08-Jul-2015 Aart Bik <ajcbik@google.com> Remove libdex (including dexdump/list).

Rationale:
Utilities dexdump and dexlist are now provided by Art.
This CL removes the utilities and supporting libdex.

Bug: 22322814
Change-Id: I032d6e4021a2c75b530e6116bca03c6a8dead2c3
6dff1dcd60809aa438b64b5cb692c00631be1d46 11-Nov-2014 Yabin Cui <yabinc@google.com> kill HAVE_POSIX_FILEMAP

Bug: 18315579
Change-Id: I2077b76ca7273fcaeaa91dda8d5365dd0e6f13e4
0f75403dcede6ef6c1e650921376101686e7ba17 24-May-2014 Ian Rogers <irogers@google.com> Clean-up some compiler warning messages.

Change-Id: I24522a57eaabedd4191856b80e5efe1b845be2fd
bbe8cb53ab16b5c3ff2520ba2af4f2a4a5947a9d 17-Dec-2012 Elliott Hughes <enh@google.com> Remove dead code.

Change-Id: I56c27c510c8fc0ba2d8e691c788b433dce250f7a
b210a9f9c7ae17e2028a86d9a4e9a3b35472862a 15-Jul-2012 SangWook Han <sangwook.han@gmail.com> Use uintptr_t for cast pointer to integer.

On 64bit host, sizeof pointer is not equal to sizeof int/u4.
Need for host tools.

Change-Id: Id8d9418787e79523226b9c9e3f67277f9ac7c6aa
c1a4ab9c313d8a3d12007f2dbef7b5a6fa4ac2ef 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Also fix an occurrence of LOGW missed in an earlier change.

Bug: 5449033
Change-Id: I2e3b23839e6dcd09015d6402280e9300c75e3406
e8e1ddccd616e8226b7cc1e4e9fdb327429249e8 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: Ia5d301248024df26c2a29dabdfe738e39ec87c82
4308417beec548c2b2c06ecec4f7f4a965b09fb2 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: Ic558031c75b3702d90eb78bd730501ae5d3c077b
062bf509a77fce9dfcb7e7b2e401cf2a124d83d5 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: Ic663376d1ad6a6cb14bf81405ad9afd247cf2f60
92c1f6f1b4249e4e379452ee7b49f027052bf4ce 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I8bd96961e369a08e86ff78b82d90f20f42787eb1
614dca3bb487f17ef8ea37a82a22dd6c4abc027e 26-May-2011 Dan Bornstein <danfuzz@android.com> Conservation of newlines in libdex.

The log facility adds newlines automatically, and the prevailing
convention is now to omit them.

Change-Id: I14762ea4a7c24eea333f778724a0e4b6b65bae2b
a70a3d8faa8f7332549fa0c9ae2008d428e28606 14-Apr-2011 Dan Bornstein <danfuzz@android.com> Compile libdex as C++.

The major-looking code changes were all just to unravel some gotos.

Change-Id: I86f98a48b160f357ce93c87446bad5d705d5f05b