@@ -65,9 +65,9 @@ |
||
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; |
@@ -81,7 +81,7 @@ |
||
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 | }); |
@@ -83,7 +83,7 @@ |
||
83 | 83 | if ($address_and_size === null) { |
84 | 84 | return null; |
85 | 85 | } |
86 | - [$address,] = $address_and_size; |
|
86 | + [$address, ] = $address_and_size; |
|
87 | 87 | return $address; |
88 | 88 | } |
89 | 89 |
@@ -23,7 +23,7 @@ |
||
23 | 23 | |
24 | 24 | return [ |
25 | 25 | MemoryReaderInterface::class => autowire(MemoryReader::class), |
26 | - ZendTypeReader::class => function () { |
|
26 | + ZendTypeReader::class => function() { |
|
27 | 27 | return new ZendTypeReader(ZendTypeReader::V74); |
28 | 28 | }, |
29 | 29 | SymbolResolverCreatorInterface::class => autowire(Elf64SymbolResolverCreator::class), |
@@ -113,7 +113,7 @@ |
||
113 | 113 | |
114 | 114 | $this->runPeriodically( |
115 | 115 | $sleep_nano_seconds, |
116 | - function () use ($pid, $eg_address, $depth, $output) { |
|
116 | + function() use ($pid, $eg_address, $depth, $output) { |
|
117 | 117 | $call_trace = $this->executor_globals_reader->readCallTrace( |
118 | 118 | $pid, |
119 | 119 | $eg_address, |
@@ -101,7 +101,7 @@ |
||
101 | 101 | |
102 | 102 | $this->runPeriodically( |
103 | 103 | $sleep_nano_seconds, |
104 | - function () use ($pid, $eg_address, $output) { |
|
104 | + function() use ($pid, $eg_address, $output) { |
|
105 | 105 | $output->writeln( |
106 | 106 | $this->executor_globals_reader->readCurrentFunctionName($pid, $eg_address) |
107 | 107 | ); |