amboxer21 |
07-11-2014 06:03 PM |
Quote:
Originally Posted by pan64
(Post 5202103)
|
Maybe my post is a bit ambiguous. What I am trying to do is port over a Linux userspace keylogger. It's called LKL and can be found on SourceForge. It is written in the C programming language. I recently have figured out how to pull my SQL formatted SMS/MMS DB from my rooted Nexus 5 and retrieve deleted text messages. I am kind of taking it one step further and going to try and port a keylogger. I needed a project and data forensics is very interesting!!
So far I have found that I needed to install the Android NDK, which I did. I also had to set up a standalone toolchain. The use of Cmake is a must!!
Now that I have everything up and running, I think I need to port the linux x86 specific calls from libs like io.h over to armv7 or find equivalent calls.
One of the errors I am getting.
ERROR
Code:
In file included from /home/anthony/Documents/tar_gz/lkl/lkl.h:25:0,
from /home/anthony/Documents/tar_gz/lkl/lkl.c:29:
/home/anthony/android-toolchain/sysroot/usr/include/sys/io.h: In function 'ioperm':
/home/anthony/android-toolchain/sysroot/usr/include/sys/io.h:33:35: error: expected declaration specifiers before '__THROW'
/home/anthony/android-toolchain/sysroot/usr/include/sys/io.h:38:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/home/anthony/android-toolchain/sysroot/usr/include/sys/io.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/anthony/android-toolchain/sysroot/usr/include/sys/io.h:53:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/anthony/android-toolchain/sysroot/usr/include/sys/io.h:62:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/anthony/android-toolchain/sysroot/usr/include/sys/io.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/anthony/android-toolchain/sysroot/usr/include/sys/io.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/anthony/android-toolchain/sysroot/usr/include/sys/io.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/anthony/android-toolchain/sysroot/usr/include/sys/io.h:97:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/anthony/android-toolchain/sysroot/usr/include/sys/io.h:103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/home/anthony/android-toolchain/sysroot/usr/include/sys/io.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
The ioperm function is apart of the sys/io header. Defined there. I guess sys/io is not supported on armv7.
Any advice?
|