This file contains 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
#if 0 | |
sub_203A0A4: | |
LDR R3, [R1,#4] | |
CMP R3, #0 | |
LDRNE R2, [R1] | |
STRNE R2, [R3] | |
LDR R2, [R1] | |
CMP R2, #0 | |
LDREQ R0, [R1,#4] | |
LDRNE R1, [R1,#4] |
This file contains 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
#include <stdlib.h> | |
#include <stdio.h> | |
#include "test.h" | |
int main(int argc, char *argv[]) { | |
printf("inl_fun:%d\n", inl_fun(4)); | |
printf("ninl_fun:%d\n", ninl_fun(4)); | |
return 0; |
This file contains 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
#include <stdlib.h> | |
#include <stdio.h> | |
#include "pion.h" | |
int main(int argc, char *argv[]) { | |
Pion p; | |
pion_init(&p); |
This file contains 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
/*--------------------------------------------------------------------------------- | |
Basic template code for starting a DS app | |
---------------------------------------------------------------------------------*/ | |
#include <nds.h> | |
#include <stdio.h> | |
#include <assert.h> | |
//--------------------------------------------------------------------------------- |
This file contains 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
diff --git a/exploits/dsisavpatch_py/dsisavpatch.py b/exploits/dsisavpatch_py/dsisavpatch.py | |
index 4ab6304..1a01bb9 100644 | |
--- a/exploits/dsisavpatch_py/dsisavpatch.py | |
+++ b/exploits/dsisavpatch_py/dsisavpatch.py | |
@@ -108,13 +108,13 @@ if location[0:5] != 'http:': | |
end_of_redirect_host = location.find('/', 7) | |
redirect_host = location[7:end_of_redirect_host] | |
redirect_query = location[end_of_redirect_host:] | |
end_of_path = redirect_query.find('?') | |
redirect_path = redirect_query[0:end_of_path] |
NewerOlder