Passed
Branch master (53e17f)
by Shinji
09:19
created
Category
src/Lib/Elf/Tls/LibThreadDbTlsFinder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,9 +65,9 @@
 block discarded – undo
65 65
     {
66 66
         $thread_pointer = $this->thread_pointer_retriever->getThreadPointer($pid);
67 67
 
68
-        [,,$thread_db_pthread_dtvp_offset] = $this->getLibThreadDbDescriptor('_thread_db_pthread_dtvp');
68
+        [,, $thread_db_pthread_dtvp_offset] = $this->getLibThreadDbDescriptor('_thread_db_pthread_dtvp');
69 69
         [$thread_db_dtv_dtv_size,,] = $this->getLibThreadDbDescriptor('_thread_db_dtv_dtv');
70
-        [,,$thread_db_dtv_t_pointer_val_offset] = $this->getLibThreadDbDescriptor('_thread_db_dtv_t_pointer_val');
70
+        [,, $thread_db_dtv_t_pointer_val_offset] = $this->getLibThreadDbDescriptor('_thread_db_dtv_t_pointer_val');
71 71
 //        [,,] = $this->getLibThreadDbDescriptor($pid, '_thread_db_link_map_l_tls_modid');
72 72
 
73 73
         $dtv_pointer_address = $thread_pointer + $thread_db_pthread_dtvp_offset;
Please login to merge, or discard this patch.
src/Lib/Elf/SymbolResolver/Elf64DynamicSymbolResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      */
82 82
     public function resolve(string $symbol_name): Elf64SymbolTableEntry
83 83
     {
84
-        $index = $this->hash_table->lookup($symbol_name, function (string $name, int $index) {
84
+        $index = $this->hash_table->lookup($symbol_name, function(string $name, int $index) {
85 85
             $symbol = $this->symbol_table->lookup($index);
86 86
             return $name === $this->string_table->lookup($symbol->st_name);
87 87
         });
Please login to merge, or discard this patch.
src/Command/Inspector/GetTraceCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         $count_retry = 0;
93 93
         while ($key !== 'q' and $count_retry < 10) {
94 94
             try {
95
-                echo join(PHP_EOL, $eg_reader->readCallTrace($pid, $eg_address, $depth)) , PHP_EOL, PHP_EOL;
95
+                echo join(PHP_EOL, $eg_reader->readCallTrace($pid, $eg_address, $depth)), PHP_EOL, PHP_EOL;
96 96
                 $count_retry = 0;
97 97
                 time_nanosleep(0, 1000 * 1000 * 10);
98 98
             } catch (MemoryReaderException $e) {
Please login to merge, or discard this patch.
src/Command/Inspector/GetCurrentFunctionNameCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
         $count_retry = 0;
81 81
         while ($key !== 'q' and $count_retry < 10) {
82 82
             try {
83
-                echo $eg_reader->readCurrentFunctionName($pid, $eg_address) , PHP_EOL;
83
+                echo $eg_reader->readCurrentFunctionName($pid, $eg_address), PHP_EOL;
84 84
                 $count_retry = 0;
85 85
                 time_nanosleep(0, 1000 * 1000 * 10);
86 86
             } catch (MemoryReaderException $e) {
Please login to merge, or discard this patch.