RobertBerger

atomic-3

Nov 4th, 2025
470
0
Never
8
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 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: b082 sub sp, #8
  16. 4: af02 add r7, sp, #8
  17. GlobalVar |= 0x01;
  18. 6: 4b0f ldr r3, [pc, #60] @ (44 <main+0x44>)
  19. 8: 681b ldr r3, [r3, #0]
  20. a: f043 0301 orr.w r3, r3, #1
  21. e: 4a0d ldr r2, [pc, #52] @ (44 <main+0x44>)
  22. 10: 6013 str r3, [r2, #0]
  23. /* Create the first task at priority 1... */
  24. xTaskCreate( vTaskFunction, "Task 1", 240, (void*)pcTextForTask1, 1, NULL );
  25. 12: 4b0d ldr r3, [pc, #52] @ (48 <main+0x48>)
  26. 14: 681b ldr r3, [r3, #0]
  27. 16: 2200 movs r2, #0
  28. 18: 9201 str r2, [sp, #4]
  29. 1a: 2201 movs r2, #1
  30. 1c: 9200 str r2, [sp, #0]
  31. 1e: 22f0 movs r2, #240 @ 0xf0
  32. 20: 490a ldr r1, [pc, #40] @ (4c <main+0x4c>)
  33. 22: 480b ldr r0, [pc, #44] @ (50 <main+0x50>)
  34. 24: f7ff fffe bl 0 <xTaskCreate>
  35.  
  36. /* ... and the second task at priority 2. The priority is the second to
  37. last parameter. */
  38. xTaskCreate( vTaskFunction, "Task 2", 240, (void*)pcTextForTask2, 2, NULL );
  39. 28: 4b0a ldr r3, [pc, #40] @ (54 <main+0x54>)
  40. 2a: 681b ldr r3, [r3, #0]
  41. 2c: 2200 movs r2, #0
  42. 2e: 9201 str r2, [sp, #4]
  43. 30: 2202 movs r2, #2
  44. 32: 9200 str r2, [sp, #0]
  45. 34: 22f0 movs r2, #240 @ 0xf0
  46. 36: 4908 ldr r1, [pc, #32] @ (58 <main+0x58>)
  47. 38: 4805 ldr r0, [pc, #20] @ (50 <main+0x50>)
  48. 3a: f7ff fffe bl 0 <xTaskCreate>
  49.  
  50. /* Start the scheduler so our tasks start executing. */
  51. vTaskStartScheduler();
  52. 3e: f7ff fffe bl 0 <vTaskStartScheduler>
  53.  
  54. for( ;; );
  55. 42: e7fe b.n 42 <main+0x42>
  56. ...
  57. 4c: 00000050 .word 0x00000050
  58. ...
  59. 58: 00000058 .word 0x00000058
  60.  
  61. Disassembly of section .text.vTaskFunction:
  62.  
  63. 00000000 <vTaskFunction>:
  64. return 0;
  65. }
  66. /*-----------------------------------------------------------*/
  67.  
  68. void vTaskFunction( void *pvParameters )
  69. {
  70. 0: b580 push {r7, lr}
  71. 2: b084 sub sp, #16
  72. 4: af00 add r7, sp, #0
  73. 6: 6078 str r0, [r7, #4]
  74. char *pcTaskName;
  75.  
  76. /* The string to print out is passed in via the parameter. Cast this to a
  77. character pointer. */
  78. pcTaskName = ( char * ) pvParameters;
  79. 8: 687b ldr r3, [r7, #4]
  80. a: 60fb str r3, [r7, #12]
  81. /* As per most tasks, this task is implemented in an infinite loop. */
  82. for( ;; )
  83. {
  84. /* Print out the name of this task AND the number of times ulIdleCycleCount
  85. has been incremented. */
  86. vPrintStringAndNumber( pcTaskName, ulIdleCycleCount );
  87. c: 4b04 ldr r3, [pc, #16] @ (20 <vTaskFunction+0x20>)
  88. e: 681b ldr r3, [r3, #0]
  89. 10: 4619 mov r1, r3
  90. 12: 68f8 ldr r0, [r7, #12]
  91. 14: f7ff fffe bl 0 <vPrintStringAndNumber>
  92.  
  93. /* Delay for a period. This time we use a call to vTaskDelay() which
  94. puts the task into the Blocked state until the delay period has expired.
  95. The delay period is specified in 'ticks'. */
  96. vTaskDelay( 250 / portTICK_RATE_MS );
  97. 18: 20fa movs r0, #250 @ 0xfa
  98. 1a: f7ff fffe bl 0 <vTaskDelay>
  99. vPrintStringAndNumber( pcTaskName, ulIdleCycleCount );
  100. 1e: e7f5 b.n c <vTaskFunction+0xc>
  101. 20: 00000000 .word 0x00000000
  102.  
  103. Disassembly of section .text.vApplicationIdleHook:
  104.  
  105. 00000000 <vApplicationIdleHook>:
  106. /*-----------------------------------------------------------*/
  107.  
  108. /* Idle hook functions MUST be called vApplicationIdleHook(), take no parameters,
  109. and return void. */
  110. void vApplicationIdleHook( void )
  111. {
  112. 0: b480 push {r7}
  113. 2: af00 add r7, sp, #0
  114. /* This hook function does nothing but increment a counter. */
  115. ulIdleCycleCount++;
  116. 4: 4b04 ldr r3, [pc, #16] @ (18 <vApplicationIdleHook+0x18>)
  117. 6: 681b ldr r3, [r3, #0]
  118. 8: 3301 adds r3, #1
  119. a: 4a03 ldr r2, [pc, #12] @ (18 <vApplicationIdleHook+0x18>)
  120. c: 6013 str r3, [r2, #0]
  121. }
  122. e: bf00 nop
  123. 10: 46bd mov sp, r7
  124. 12: bc80 pop {r7}
  125. 14: 4770 bx lr
  126. 16: bf00 nop
  127. 18: 00000000 .word 0x00000000
  128.  
  129. Disassembly of section .text.vApplicationMallocFailedHook:
  130.  
  131. 00000000 <vApplicationMallocFailedHook>:
  132. /*-----------------------------------------------------------*/
  133.  
  134. void vApplicationMallocFailedHook( void )
  135. {
  136. 0: b480 push {r7}
  137. 2: af00 add r7, sp, #0
  138. /* This function will only be called if an API call to create a task, queue
  139. or semaphore fails because there is too little heap RAM remaining. */
  140. for( ;; );
  141. 4: e7fe b.n 4 <vApplicationMallocFailedHook+0x4>
  142.  
  143. Disassembly of section .text.vApplicationStackOverflowHook:
  144.  
  145. 00000000 <vApplicationStackOverflowHook>:
  146. }
  147. /*-----------------------------------------------------------*/
  148.  
  149. void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )
  150. {
  151. 0: b480 push {r7}
  152. 2: b083 sub sp, #12
  153. 4: af00 add r7, sp, #0
  154. 6: 6078 str r0, [r7, #4]
  155. 8: 6039 str r1, [r7, #0]
  156. /* This function will only be called if a task overflows its stack. Note
  157. that stack overflow checking does slow down the context switch
  158. implementation. */
  159. for( ;; );
  160. a: e7fe b.n a <vApplicationStackOverflowHook+0xa>
  161.  
  162. Disassembly of section .text.vApplicationTickHook:
  163.  
  164. 00000000 <vApplicationTickHook>:
  165. }
  166. /*-----------------------------------------------------------*/
  167.  
  168. void vApplicationTickHook( void )
  169. {
  170. 0: b480 push {r7}
  171. 2: af00 add r7, sp, #0
  172. /* This example does not use the tick hook to perform any processing. */
  173. }
  174. 4: bf00 nop
  175. 6: 46bd mov sp, r7
  176. 8: bc80 pop {r7}
  177. 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=yekjjkjbsk
    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