Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | libc: support only android's libstdc++ | Jari Vetoniemi | 2018-04-19 |
| | | | | | Supporting host libstdc++ is going to be complicated. Because c++'s ABI is unstable and mess. | ||
* | libc: more verbose strlen | Jari Vetoniemi | 2018-04-19 |
| | |||
* | jvm: Add asserts | Jari Vetoniemi | 2018-04-19 |
| | |||
* | wrapper/linker: __cxa_demangle from linker | Jari Vetoniemi | 2018-04-19 |
| | | | | | We want to use android's libstdc++, so we need to pass __cxa_demangle from linker. | ||
* | linker: Use dladdr1 to get symbol info | Jari Vetoniemi | 2018-04-19 |
| | | | | Casting symbol is wrong. | ||
* | libc: Implement bionic's ctype | Jari Vetoniemi | 2018-04-19 |
| | |||
* | linker: s/APKENV_DEBUG/LINKER_DEBUG/ | Jari Vetoniemi | 2018-04-19 |
| | |||
* | linker: debug print to stderr | Jari Vetoniemi | 2018-04-19 |
| | |||
* | linker: Remove libc precond | Jari Vetoniemi | 2018-04-19 |
| | |||
* | linker/libc: don't wrap variable symbols | Jari Vetoniemi | 2018-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 funcs | Jari Vetoniemi | 2018-04-19 |
| | |||
* | libc: stdio must be wrapped | Jari Vetoniemi | 2018-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/ header | Jari Vetoniemi | 2018-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 strings | Jari Vetoniemi | 2018-03-11 |
| | | | | Thanks gcc's printf attribute | ||
* | verbose: Move implementation to wrapper.c | Jari Vetoniemi | 2018-03-11 |
| | | | | | Static header implementation is not thread safe as mutex is of course duplicated to each version... | ||
* | README: Add note about apitrace | Jari Vetoniemi | 2018-03-10 |
| | |||
* | linker: Refactor glibc dlopen hacks | Jari Vetoniemi | 2018-03-10 |
| | | | | Allows us to return "valid" pointer when bionic program calls dlopen. | ||
* | java: system.load graceful fail | Jari Vetoniemi | 2018-03-10 |
| | |||
* | android: Create GLFW window with no client API | Jari Vetoniemi | 2018-03-10 |
| | |||
* | EGL: s/win/window/ | Jari Vetoniemi | 2018-03-10 |
| | |||
* | EGL: Include no client api headers | Jari Vetoniemi | 2018-03-10 |
| | |||
* | EGL: link glfw | Jari Vetoniemi | 2018-03-10 |
| | |||
* | libEGL: Use unions for function ptrs | Jari Vetoniemi | 2018-03-02 |
| | |||
* | jvm: Cleaner implementation, implement stuff | Jari Vetoniemi | 2018-03-02 |
| | | | | Turned bunch of copy-pasta code into macros. | ||
* | pthread: Fix typo and add type safety | Jari Vetoniemi | 2018-03-01 |
| | |||
* | android: Add libwrap.c for inspecting on android | Jari Vetoniemi | 2018-02-28 |
| | | | | This lets us see what native calls android apps make. | ||
* | jvm: verboase_log native methods | Jari Vetoniemi | 2018-02-28 |
| | |||
* | dlfcn: Static pthread initializer | Jari Vetoniemi | 2018-02-28 |
| | |||
* | verbose: Inline when VERBOSE_FUNCTIONS disabled | Jari Vetoniemi | 2018-02-27 |
| | |||
* | liblog: Output newline | Jari Vetoniemi | 2018-02-27 |
| | |||
* | pthread: Fix getattr_np | Jari Vetoniemi | 2018-02-27 |
| | |||
* | pthread: More standard confirming implementation | Jari Vetoniemi | 2018-02-27 |
| | | | | Also allows to use valgrind without suppressions on good programs! | ||
* | app: Unity related work | Jari Vetoniemi | 2018-02-27 |
| | |||
* | Add libEGL shim | Jari Vetoniemi | 2018-02-27 |
| | |||
* | wrapper: Don't wrap NULL functions | Jari Vetoniemi | 2018-02-27 |
| | |||
* | linker: Hacks | Jari Vetoniemi | 2018-02-27 |
| | |||
* | libpthread: Implement functions | Jari Vetoniemi | 2018-02-27 |
| | |||
* | liblog: Implement functions | Jari Vetoniemi | 2018-02-27 |
| | |||
* | libc: Togglable libstdc++ support | Jari Vetoniemi | 2018-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 sigaction | Jari Vetoniemi | 2018-02-27 |
| | |||
* | libandroid: implement more functions | Jari Vetoniemi | 2018-02-27 |
| | |||
* | jvm: Make java implementations optional | Jari Vetoniemi | 2018-02-27 |
| | | | | No need to implement crap that doesn't matter for app's functionality. | ||
* | android: Don't assert all params | Jari Vetoniemi | 2018-02-25 |
| | | | | This function is not very well documented. | ||
* | app: Whee more crap to get unity stuff work | Jari Vetoniemi | 2018-02-25 |
| | |||
* | libc: ugly dynamic_cast hack | Jari Vetoniemi | 2018-02-25 |
| | | | | | We should have option to use android's libstdc++ implementations as well. | ||
* | libc: verbose sysconf | Jari Vetoniemi | 2018-02-25 |
| | |||
* | wrapper: Add asserts | Jari Vetoniemi | 2018-02-25 |
| | |||
* | dlfcn: Try dlsym glibc symbols first | Jari Vetoniemi | 2018-02-25 |
| | |||
* | jvm-android: Implement more methods | Jari Vetoniemi | 2018-02-25 |
| | |||
* | libc: Implement __page_size and __h_errno | Jari Vetoniemi | 2018-02-25 |
| |