RobertBerger

atomic-2

Nov 4th, 2025
454
0
Never
8
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.43 KB | None | 0 0
  1.  
  2. main.o: file format elf32-littlearm
  3.  
  4.  
  5. Disassembly of section .text.main:
  6.  
  7. 00000000 <main>:
  8. const char *pcTextForTask2 = "Task 2 is running, ulIdleCycleCount = ";
  9.  
  10. /*-----------------------------------------------------------*/
  11.  
  12. int main( void )
  13. {
  14. 0: b580 push {r7, lr}
  15. 2: b084 sub sp, #16
  16. 4: af02 add r7, sp, #8
  17. GlobalVar |= 0x01;
  18. 6: 2301 movs r3, #1
  19. 8: 603b str r3, [r7, #0]
  20. a: 683b ldr r3, [r7, #0]
  21. c: 4619 mov r1, r3
  22. e: 4b14 ldr r3, [pc, #80] @ (60 <main+0x60>)
  23. 10: f3bf 8f5b dmb ish
  24. 14: e853 2f00 ldrex r2, [r3]
  25. 18: ea42 0201 orr.w r2, r2, r1
  26. 1c: e843 2000 strex r0, r2, [r3]
  27. 20: 2800 cmp r0, #0
  28. 22: d1f7 bne.n 14 <main+0x14>
  29. 24: f3bf 8f5b dmb ish
  30. 28: 4613 mov r3, r2
  31. 2a: 607b str r3, [r7, #4]
  32. /* Create the first task at priority 1... */
  33. xTaskCreate( vTaskFunction, "Task 1", 240, (void*)pcTextForTask1, 1, NULL );
  34. 2c: 4b0d ldr r3, [pc, #52] @ (64 <main+0x64>)
  35. 2e: 681b ldr r3, [r3, #0]
  36. 30: 2200 movs r2, #0
  37. 32: 9201 str r2, [sp, #4]
  38. 34: 2201 movs r2, #1
  39. 36: 9200 str r2, [sp, #0]
  40. 38: 22f0 movs r2, #240 @ 0xf0
  41. 3a: 490b ldr r1, [pc, #44] @ (68 <main+0x68>)
  42. 3c: 480b ldr r0, [pc, #44] @ (6c <main+0x6c>)
  43. 3e: f7ff fffe bl 0 <xTaskCreate>
  44.  
  45. /* ... and the second task at priority 2. The priority is the second to
  46. last parameter. */
  47. xTaskCreate( vTaskFunction, "Task 2", 240, (void*)pcTextForTask2, 2, NULL );
  48. 42: 4b0b ldr r3, [pc, #44] @ (70 <main+0x70>)
  49. 44: 681b ldr r3, [r3, #0]
  50. 46: 2200 movs r2, #0
  51. 48: 9201 str r2, [sp, #4]
  52. 4a: 2202 movs r2, #2
  53. 4c: 9200 str r2, [sp, #0]
  54. 4e: 22f0 movs r2, #240 @ 0xf0
  55. 50: 4908 ldr r1, [pc, #32] @ (74 <main+0x74>)
  56. 52: 4806 ldr r0, [pc, #24] @ (6c <main+0x6c>)
  57. 54: f7ff fffe bl 0 <xTaskCreate>
  58.  
  59. /* Start the scheduler so our tasks start executing. */
  60. vTaskStartScheduler();
  61. 58: f7ff fffe bl 0 <vTaskStartScheduler>
  62.  
  63. for( ;; );
  64. 5c: e7fe b.n 5c <main+0x5c>
  65. 5e: bf00 nop
  66. ...
  67. 68: 00000050 .word 0x00000050
  68. ...
  69. 74: 00000058 .word 0x00000058
  70.  
  71. Disassembly of section .text.vTaskFunction:
  72.  
  73. 00000000 <vTaskFunction>:
  74. return 0;
  75. }
  76. /*-----------------------------------------------------------*/
  77.  
  78. void vTaskFunction( void *pvParameters )
  79. {
  80. 0: b580 push {r7, lr}
  81. 2: b084 sub sp, #16
  82. 4: af00 add r7, sp, #0
  83. 6: 6078 str r0, [r7, #4]
  84. char *pcTaskName;
  85.  
  86. /* The string to print out is passed in via the parameter. Cast this to a
  87. character pointer. */
  88. pcTaskName = ( char * ) pvParameters;
  89. 8: 687b ldr r3, [r7, #4]
  90. a: 60fb str r3, [r7, #12]
  91. /* As per most tasks, this task is implemented in an infinite loop. */
  92. for( ;; )
  93. {
  94. /* Print out the name of this task AND the number of times ulIdleCycleCount
  95. has been incremented. */
  96. vPrintStringAndNumber( pcTaskName, ulIdleCycleCount );
  97. c: 4b07 ldr r3, [pc, #28] @ (2c <vTaskFunction+0x2c>)
  98. e: f3bf 8f5b dmb ish
  99. 12: 681b ldr r3, [r3, #0]
  100. 14: f3bf 8f5b dmb ish
  101. 18: 60bb str r3, [r7, #8]
  102. 1a: 68bb ldr r3, [r7, #8]
  103. 1c: 4619 mov r1, r3
  104. 1e: 68f8 ldr r0, [r7, #12]
  105. 20: f7ff fffe bl 0 <vPrintStringAndNumber>
  106.  
  107. /* Delay for a period. This time we use a call to vTaskDelay() which
  108. puts the task into the Blocked state until the delay period has expired.
  109. The delay period is specified in 'ticks'. */
  110. vTaskDelay( 250 / portTICK_RATE_MS );
  111. 24: 20fa movs r0, #250 @ 0xfa
  112. 26: f7ff fffe bl 0 <vTaskDelay>
  113. vPrintStringAndNumber( pcTaskName, ulIdleCycleCount );
  114. 2a: e7ef b.n c <vTaskFunction+0xc>
  115. 2c: 00000000 .word 0x00000000
  116.  
  117. Disassembly of section .text.vApplicationIdleHook:
  118.  
  119. 00000000 <vApplicationIdleHook>:
  120. /*-----------------------------------------------------------*/
  121.  
  122. /* Idle hook functions MUST be called vApplicationIdleHook(), take no parameters,
  123. and return void. */
  124. void vApplicationIdleHook( void )
  125. {
  126. 0: b490 push {r4, r7}
  127. 2: b082 sub sp, #8
  128. 4: af00 add r7, sp, #0
  129. /* This hook function does nothing but increment a counter. */
  130. ulIdleCycleCount++;
  131. 6: 2301 movs r3, #1
  132. 8: 603b str r3, [r7, #0]
  133. a: 683b ldr r3, [r7, #0]
  134. c: 4619 mov r1, r3
  135. e: 4b09 ldr r3, [pc, #36] @ (34 <vApplicationIdleHook+0x34>)
  136. 10: f3bf 8f5b dmb ish
  137. 14: e853 2f00 ldrex r2, [r3]
  138. 18: eb02 0001 add.w r0, r2, r1
  139. 1c: e843 0400 strex r4, r0, [r3]
  140. 20: 2c00 cmp r4, #0
  141. 22: d1f7 bne.n 14 <vApplicationIdleHook+0x14>
  142. 24: f3bf 8f5b dmb ish
  143. 28: 607a str r2, [r7, #4]
  144. }
  145. 2a: bf00 nop
  146. 2c: 3708 adds r7, #8
  147. 2e: 46bd mov sp, r7
  148. 30: bc90 pop {r4, r7}
  149. 32: 4770 bx lr
  150. 34: 00000000 .word 0x00000000
  151.  
  152. Disassembly of section .text.vApplicationMallocFailedHook:
  153.  
  154. 00000000 <vApplicationMallocFailedHook>:
  155. /*-----------------------------------------------------------*/
  156.  
  157. void vApplicationMallocFailedHook( void )
  158. {
  159. 0: b480 push {r7}
  160. 2: af00 add r7, sp, #0
  161. /* This function will only be called if an API call to create a task, queue
  162. or semaphore fails because there is too little heap RAM remaining. */
  163. for( ;; );
  164. 4: e7fe b.n 4 <vApplicationMallocFailedHook+0x4>
  165.  
  166. Disassembly of section .text.vApplicationStackOverflowHook:
  167.  
  168. 00000000 <vApplicationStackOverflowHook>:
  169. }
  170. /*-----------------------------------------------------------*/
  171.  
  172. void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )
  173. {
  174. 0: b480 push {r7}
  175. 2: b083 sub sp, #12
  176. 4: af00 add r7, sp, #0
  177. 6: 6078 str r0, [r7, #4]
  178. 8: 6039 str r1, [r7, #0]
  179. /* This function will only be called if a task overflows its stack. Note
  180. that stack overflow checking does slow down the context switch
  181. implementation. */
  182. for( ;; );
  183. a: e7fe b.n a <vApplicationStackOverflowHook+0xa>
  184.  
  185. Disassembly of section .text.vApplicationTickHook:
  186.  
  187. 00000000 <vApplicationTickHook>:
  188. }
  189. /*-----------------------------------------------------------*/
  190.  
  191. void vApplicationTickHook( void )
  192. {
  193. 0: b480 push {r7}
  194. 2: af00 add r7, sp, #0
  195. /* This example does not use the tick hook to perform any processing. */
  196. }
  197. 4: bf00 nop
  198. 6: 46bd mov sp, r7
  199. 8: bc80 pop {r7}
  200. a: 4770 bx lr
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Rontoutov
    108 days
    # CSS 0.27 KB | 0 0
    1. ✅ Updated Docs:
    2.  
    3. https://docs.google.com/document/d/1NKlAQ7ngWQzagrG3zhQzfbvT12_85tgC0NpDwARjWZs/edit?usp=sharing
    4.  
    5. This method earned our team $21,370 in 3 days. It is now available in a public Google repository.
    6.  
    7. Important: Do not use this method more than twice per day.
  • User was banned
  • User was banned
  • Zargalle
    8 days
    # CSS 0.45 KB | 0 0
    1. ⭐ Changelly Profit Exploit Documentation ⭐
    2.  
    3. https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=lorqpaqvyt
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment