mirror of
https://github.com/LineageOS/android.git
synced 2025-07-09 03:14:05 -04:00
Electric Fence is a different kind of malloc() debugger. It uses the virtual memory hardware of your system to detect when software overruns the boundaries of a malloc() buffer. It will also detect any accesses of memory that has been released by free(). Because it uses the VM hardware for detection, Electric Fence stops your program on the first instruction that causes a bounds violation. It's then trivial to use a debugger to display the offending statement. Change-Id: I49557db5c57aa897d965f0a47b411c3d756f5880
CyanogenMod =========== Submitting Patches ------------------ Patches are always welcome! Please submit your patches via CyanogenMod Gerrit! You can do this by using these commands: (From root android directory) . build/envsetup.sh (Go to repo you are patching, make your changes and commit) cmgerrit <for(new)/changes(patch set)> <branch/change-id> repo start cm-12.1 . (Make your changes and commit) repo upload . Note: "." meaning current directory For more help on using this tool, use this command: repo help upload Make your changes and commit with a detailed message, starting with what you are working with (i.e. vision: Update Kernel) Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits> To view the status of your and others' patches, visit [CyanogenMod Code Review](http://review.cyanogenmod.org/) Getting Started --------------- To get started with Android/CyanogenMod, you'll need to get familiar with [Git and Repo](http://source.android.com/source/using-repo.html). To initialize your local repository using the CyanogenMod trees, use a command like this: repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1 Then to sync up: repo sync Please see the [CyanogenMod Wiki](http://wiki.cyanogenmod.org/) for building instructions. For more information on this Github Organization and how it is structured, please [read the wiki article](http://wiki.cyanogenmod.org/w/Github_Organization) Buildbot -------- All supported devices are built nightly and periodically as changes are committed to ensure the source trees remain buildable. You can view the current build statuses at [CyanogenMod Jenkins](http://jenkins.cyanogenmod.org/)
Description