summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* jvm: Better proxy objectsJari Vetoniemi2018-05-21
| | | | | | | | Instead of creating class, return the method instead. Check for type mismatch in functions that use these objects in our jvm implementation, but on mismatch print the mismatch, but return a empty object (all-0) and stuff could still work. Essentially effect is having container/object with no data.
* libc: Temporary hack for sigactionJari Vetoniemi2018-05-16
| | | | | For some reason doesn't work with NULL act, need to investigate more later.
* libc: Fix sa_flags in bionic sigaction structJari Vetoniemi2018-05-16
|
* jvm: Implement jvm_get_object_of_typeJari Vetoniemi2018-05-16
| | | | | Currently doesn't do anything different from jvm_get_object, but can be used to log cases where unexpected object was returned.
* jvm: Return proxy objects for stubbed methodsJari Vetoniemi2018-05-16
| | | | | This is better than returning NULL, as we can track better where things go wrong and what needs to be implemented.
* jvm-android: cache dir propertiesJari Vetoniemi2018-05-08
|
* jvm-android: version propertiesJari Vetoniemi2018-05-08
|
* jvm: add some array implementation codeJari Vetoniemi2018-05-08
|
* jvm: more verbose instance ofJari Vetoniemi2018-04-19
|
* app: use android/app/Activity for main contextJari Vetoniemi2018-04-19
|
* wrapper: fix trace blocking / fix indentationJari Vetoniemi2018-04-19
|
* linker: better sym == function detectionJari Vetoniemi2018-04-19
|
* libc: support only android's libstdc++Jari Vetoniemi2018-04-19
| | | | | Supporting host libstdc++ is going to be complicated. Because c++'s ABI is unstable and mess.
* libc: more verbose strlenJari Vetoniemi2018-04-19
|
* jvm: Add assertsJari Vetoniemi2018-04-19
|
* wrapper/linker: __cxa_demangle from linkerJari Vetoniemi2018-04-19
| | | | | We want to use android's libstdc++, so we need to pass __cxa_demangle from linker.
* linker: Use dladdr1 to get symbol infoJari Vetoniemi2018-04-19
| | | | Casting symbol is wrong.
* libc: Implement bionic's ctypeJari Vetoniemi2018-04-19
|
* linker: s/APKENV_DEBUG/LINKER_DEBUG/Jari Vetoniemi2018-04-19
|
* linker: debug print to stderrJari Vetoniemi2018-04-19
|
* linker: Remove libc precondJari Vetoniemi2018-04-19
|
* linker/libc: don't wrap variable symbolsJari Vetoniemi2018-04-19
| | | | | This is why the bionic_file_to_glibc_file did not work with just pointers. The input is actually pointer to our wrapper, doh.
* libc: Wrap more stdio funcsJari Vetoniemi2018-04-19
|
* libc: stdio must be wrappedJari Vetoniemi2018-04-18
| | | | | | | | | | | | | | Bionic libc does stupid stuff and defines standard streams as macros to reference of an array element. Thus we can't just point standard streams to their respective correct addresses. (Why does both glibc and bionic even expose the internal FILE structs??) So we have to wrap every function that takes FILE* as argument and mangle it with bionic_file_to_glibc_file. We can't just check addresses because gnu's libstdc++ copies the FILE*. I assume same thing happens with the c++ locale support, and we need to do more complex ctype wrapping.
* android/EGL: Mark ANativeWindow w/ headerJari Vetoniemi2018-03-11
| | | | | | | | Remove eglGetDisplay as it's called with NULL anyways (Reimplement if otherwise in some app) In eglCreateWindowSurface, check that our pointer really is ANativeWindow, otherwise try use it as is.
* verbose: fix wrong printf format stringsJari Vetoniemi2018-03-11
| | | | Thanks gcc's printf attribute
* verbose: Move implementation to wrapper.cJari Vetoniemi2018-03-11
| | | | | Static header implementation is not thread safe as mutex is of course duplicated to each version...
* linker: Refactor glibc dlopen hacksJari Vetoniemi2018-03-10
| | | | Allows us to return "valid" pointer when bionic program calls dlopen.
* java: system.load graceful failJari Vetoniemi2018-03-10
|
* android: Create GLFW window with no client APIJari Vetoniemi2018-03-10
|
* EGL: s/win/window/Jari Vetoniemi2018-03-10
|
* EGL: Include no client api headersJari Vetoniemi2018-03-10
|
* libEGL: Use unions for function ptrsJari Vetoniemi2018-03-02
|
* jvm: Cleaner implementation, implement stuffJari Vetoniemi2018-03-02
| | | | Turned bunch of copy-pasta code into macros.
* pthread: Fix typo and add type safetyJari Vetoniemi2018-03-01
|
* jvm: verboase_log native methodsJari Vetoniemi2018-02-28
|
* dlfcn: Static pthread initializerJari Vetoniemi2018-02-28
|
* verbose: Inline when VERBOSE_FUNCTIONS disabledJari Vetoniemi2018-02-27
|
* liblog: Output newlineJari Vetoniemi2018-02-27
|
* pthread: Fix getattr_npJari Vetoniemi2018-02-27
|
* pthread: More standard confirming implementationJari Vetoniemi2018-02-27
| | | | Also allows to use valgrind without suppressions on good programs!
* app: Unity related workJari Vetoniemi2018-02-27
|
* Add libEGL shimJari Vetoniemi2018-02-27
|
* wrapper: Don't wrap NULL functionsJari Vetoniemi2018-02-27
|
* linker: HacksJari Vetoniemi2018-02-27
|
* libpthread: Implement functionsJari Vetoniemi2018-02-27
|
* liblog: Implement functionsJari Vetoniemi2018-02-27
|
* libc: Togglable libstdc++ supportJari Vetoniemi2018-02-27
| | | | | Can use either host libstdc++ or android's where android's is probably must for anything other than clang or gcc
* libc: Implement sigactionJari Vetoniemi2018-02-27
|
* libandroid: implement more functionsJari Vetoniemi2018-02-27
|