- dnload writeup
- Magic Global Offset Table (GOT) slot entries: http://users.eecs.northwestern.edu/%7Ekch479/docs/notes/linking.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USBD Udisk | |
USBD init on controller 0 | |
sizeof(usbd_device_t) = 85 | |
sizeof(dcd_event_t) = 12 | |
sizeof(tu_fifo_t) = 12 | |
sizeof(tu_edpt_stream_t) = 24 | |
DFU init | |
USBD Bus Reset : High Speed | |
USBD Setup Received 80 06 00 01 00 00 40 00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from ctypes import* | |
u=CDLL("libc.so.6") | |
c=CDLL("libclutter-1.0.so.0") | |
l=CDLL("libgobject-2.0.so.0") | |
def t(i,*b):i.restype=c_void_p;i.argtypes=[c_void_p]*len(b);return i(*b) | |
t(c.clutter_init) | |
g=t(c.clutter_stage_new) | |
_=t(c.clutter_shader_effect_new,1) | |
t(c.clutter_shader_effect_set_shader_source,_,b"void main(){cogl_color_out=vec4(cogl_tex_coord_in[0].xyx,1.);}") |
THIS IS OUTDATED, USE THE DOCUMENT HERE INSTEAD!
An implementation can be found here.